diff options
| author | 2015-02-20 00:49:14 +0100 | |
|---|---|---|
| committer | 2015-02-20 00:49:14 +0100 | |
| commit | 8ff409cb9a393559ebda3990ab2926c9a42d87a1 (patch) | |
| tree | 0bcb602efb916fc4d85f261a66b159cbebf37823 /make/test/compiler.cpp | |
| parent | Eliminate constant return value of the all events version of ModuleManager::S... (diff) | |
| parent | Remove a workaround for a compiler which is no longer supported. (diff) | |
| download | inspircd++-8ff409cb9a393559ebda3990ab2926c9a42d87a1.tar.gz inspircd++-8ff409cb9a393559ebda3990ab2926c9a42d87a1.tar.bz2 inspircd++-8ff409cb9a393559ebda3990ab2926c9a42d87a1.zip | |
Merge pull request #997 from SaberUK/master+compiler-detection
Improve compiler detection in configure; update supported compiler tests.
Diffstat (limited to 'make/test/compiler.cpp')
| -rw-r--r-- | make/test/compiler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/make/test/compiler.cpp b/make/test/compiler.cpp index 1c3e1d875..d78f07830 100644 --- a/make/test/compiler.cpp +++ b/make/test/compiler.cpp @@ -18,11 +18,17 @@ #include <iostream> #if defined _LIBCPP_VERSION +# include <type_traits> # include <unordered_map> #else +# include <tr1/type_traits> # include <tr1/unordered_map> #endif +#if defined __APPLE__ && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && __GNUC_PATCHLEVEL__ == 1 +# error "LLVM-GCC 4.2.1 has broken visibility support." +#endif + int main() { std::cout << "Hello, World!" << std::endl; return 0; |
