Click here to Skip to main content
15,888,238 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am new to Mac os and i just installed qt creator and created new Qt console application to test whether the compiler works or not. When i try to build it i am getting error that says token is not valid binary operator in a preprocessor subexpression #if __has_extension(is_enum) .... on Qt5.0.1/5.0.1/clang_64/include/QtCore/qisenum.h
And i have tried to google it but i couldn't get satisfactory solution for it.

With regards,
Posted
Updated 27-Feb-13 5:15am
v2
Comments
Richard MacCutchan 28-Feb-13 11:26am    
Either or both of the macro expressions __has_extension or is_enum, do not exist in your version of the compiler.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900