aboutsummaryrefslogtreecommitdiffstats
path: root/make/test/compiler.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2015-02-18 15:30:08 +0000
committerGravatar Peter Powell2015-02-18 16:00:39 +0000
commit755c259b639050378159837facb5fbfa2447b3b8 (patch)
tree647a035d79ed08de2cb5a55c5aff67bb2c7166ee /make/test/compiler.cpp
parentAdd the <type_traits> header to the compiler test file. (diff)
downloadinspircd++-755c259b639050378159837facb5fbfa2447b3b8.tar.gz
inspircd++-755c259b639050378159837facb5fbfa2447b3b8.tar.bz2
inspircd++-755c259b639050378159837facb5fbfa2447b3b8.zip
Remove a workaround for a compiler which is no longer supported.
Diffstat (limited to 'make/test/compiler.cpp')
-rw-r--r--make/test/compiler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/test/compiler.cpp b/make/test/compiler.cpp
index ae782bf03..d78f07830 100644
--- a/make/test/compiler.cpp
+++ b/make/test/compiler.cpp
@@ -25,6 +25,10 @@
# 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;