Dear all,

In my code I have this kind of thing:

#ifdef __SSE2__

... // Some template specialization so that my generic vector class is
optimized for float and double.

#endif


However, as QTCreator does not know that __SSE2__ is declared at compile
time ( -march pentium4 ), all is grayed out in the #idef block, and I have
no quick access to functions, no error highlighting, etc...


How can I make the editor consider that __SSE2__ is defined, so that it
parses my optimized conditionnal code, but without changing anything at
compile time (I do not want to force __SSE2__ if I set the -march to non-x86
platform for instance, I want the compiler to decide)


Thanks in advance

Regards,

Etienne
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to