-
Jon Olav Hauglid authored
The problem was that we several places use __GNUC__ and __GNUC_MINOR__ to determine if the current compiler supports a given feature. But since these symbols are not only set by GCC, but also by e.g. Clang they can lead to wrong decisions being made. This patch fixes the problem by instead using feature specific tests using CMake. The patch also removes some dead code.
Jon Olav Hauglid authoredThe problem was that we several places use __GNUC__ and __GNUC_MINOR__ to determine if the current compiler supports a given feature. But since these symbols are not only set by GCC, but also by e.g. Clang they can lead to wrong decisions being made. This patch fixes the problem by instead using feature specific tests using CMake. The patch also removes some dead code.
Loading