Details
-
Bug
-
Resolution: Cannot Reproduce
-
P3: Somewhat important
-
None
-
Qt Creator 1.3.1, Qt Creator 4.3.0
-
None
-
Qt v4.6.1
kubuntu 8.04
Description
QtCreator reports a C++ syntax error when using the macro BOOST_FOREACH() like in this example :
#include <boost/foreach.hpp> #include <QtDebug> int main() { int values[5]; BOOST_FOREACH(int i, values) qDebug() << i; return 0; }
This is valid C++ source code however QtCreator wave-underlines the body of BOOST_FOREACH() and reports the syntax error (as a tooltip) expected token `)' got `='.