For me syntax highlighting works well for BOOST_CHECK macro in Qt Creator 2.3.81. However, I'm still experiencing problems with BOOST_SCOPE_EXIT macro (already reported as a bug: https://bugreports.qt.nokia.com/browse/QTCREATORBUG-5279).
On 24 August 2011 13:59, Wilhelm <[email protected]> wrote: > Am 24.08.2011 12:44, schrieb Christian Kamm: > > On Wednesday 24 August 2011 12:30:15 ext Wilhelm wrote: > >> Hi all, > >> > >> if one uses the boost unit test macros (see below), qtcreator markes the > >> BOOST_CHECK(...) macros as syntax error (expected ;): > >> > >> #include <boost/test/unit_test.hpp> > >> > >> #include "person.h" > >> > >> BOOST_AUTO_TEST_CASE(Person1) > >> { > >> Person p("Hugo", "Tester"); > >> BOOST_CHECK(p.firstname() == "Hugo"); > >> BOOST_CHECK(p.lastname() == "Tester"); > >> } > >> > >> Does anybody know how to avoid this (yes, I can use the Qt unit testing > >> framework, but thats not a solution in this special case)? > > > > I can't reproduce the error you describe with 2.3 or master. > > You can reproduce it with a file test.cc: > > #include <boost/test/unit_test.hpp> > > BOOST_AUTO_TEST_CASE(boost1) > { > BOOST_CHECK(true); > } > > I'm using qtcreator-2.2.85 and > boost-1.47 > > If you can, > > please create a bug report. > > _______________________________________________ > > Qt-creator mailing list > > [email protected] > > http://lists.qt.nokia.com/mailman/listinfo/qt-creator > > > -- > Wilhelm > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt-creator > -- Sincerely, Alexander Rukletsov
_______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
