
7 Jul
2008
7 Jul
'08
4:39 p.m.
Juergen Hunold <juergen.hunold <at> ivembh.de> writes:
Hi !
The latest changes to Boost.Test broke compilation with gcc in "pedantic" mode. This seems to be:
...
output_test_stream_test.cpp: In member function 'void test_constructor::test_method()': output_test_stream_test.cpp:30: error: ISO C++ forbids braced-groups within expressions
A-ha. No wonder no other compiler agreed to compile it ;)
I've disabled "return value support" locally (by commenting out test_tools.hpp line 86) but would like to have a conformant solution.
Didn't really find any alternatives. Have any suggestions? Can I keep it only in non-pedantic mode? Or is it going to go as well? Gennadiy