Clang errors out for cstdlib

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Clang errors out for cstdlib

Sumner, Brian via cfe-dev
Hi,

I am using Clang 3.9 to compile some OpenCL code, the first error it throws out is this:

In file included from /tools/batonroot/rodin/devkits/lnx64/gcc-6.2.0/include/c++/6.2.0/stdlib.h:36:
/tools/batonroot/rodin/devkits/lnx64/gcc-6.2.0/include/c++/6.2.0/cstdlib:120:15: error: expected '{'
namespace std _GLIBCXX_VISIBILITY(default)
              ^

There are a lot of more errors, all related to this __GLIBCXX_VISIBILITY(default).


Any comments and/or suggestions?


Thanks,
- Welson


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Loading...