Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
14 Views

icc compile error on OS X

The code: -------------------------- #include int main() { #ifdef __clang_version__ printf("%s\n", __clang_version__); #endif } --------------------------- __clang_version__ is a builtin macro defined by clang, and is supposed to be irrelevant to icc. But icc emits a compile error when compiling this code: test.c(5): error: extra text after expected end of number printf("%s\n", __clang_version__); ^ This looks like a bug. Specs: OS X 10.10.3 icc 15.0.2
0 Kudos
0 Replies