While the following compiles fine, QtCreator is telling me that there's an error in the code:
#include <boost/foreach.hpp>
#include <iostream>
int main()
{
std::string s("hello");
BOOST_FOREACH(char c, s) std::cout << c << std::endl;
return 0;
}
The error is "expected token ')' got char". I'm using boost 1.36. Note
that I can sometimes get the error to go away by reordering the header
files and re-saving.
-aml
<<attachment: foreach.png>>
_______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
