|
Boost : |
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-07-07 12:39:15
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk