Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: QT-Creator
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 27-Feb-13 3:40am
Edited 27-Feb-13 6:15am
(no name)498.5K
v2
Comments
Richard MacCutchan at 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)

  Print Answers RSS
0 OriginalGriff 7,903
1 Sergey Alexandrovich Kryukov 7,192
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,820


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 28 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100