X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=make%2Ftest%2Fcompiler.cpp;h=f01423325abbc7ac855f678146d845c61a4552f8;hb=a3e0768758ca68429a29d9c78ce672f2d938c6e7;hp=1c3e1d8752ebeb1aeab44d1a5ef5e9f21875eae4;hpb=35d80008d6cb55160d06dda51aebc716c4d6511b;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/make/test/compiler.cpp b/make/test/compiler.cpp index 1c3e1d875..f01423325 100644 --- a/make/test/compiler.cpp +++ b/make/test/compiler.cpp @@ -1,6 +1,8 @@ /* * InspIRCd -- Internet Relay Chat Daemon * + * Copyright (C) 2016 Attila Molnar + * Copyright (C) 2014-2015 Peter Powell * * This file is part of InspIRCd. InspIRCd is free software: you can * redistribute it and/or modify it under the terms of the GNU General Public @@ -18,11 +20,19 @@ #include #if defined _LIBCPP_VERSION +# include +# include # include #else +# include +# include # include #endif +#if defined __llvm__ && !defined __clang__ && __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;