Boost logo

Boost :

From: Juergen Hunold (juergen.hunold_at_[hidden])
Date: 2008-07-07 11:04:33

Hi !

The latest changes to Boost.Test broke compilation with gcc in "pedantic"
mode. This seems to be:

Just add "<toolset>gcc:<cxxflags>-pedantic" to libs/test/test/Jamfile.v2 and
recompile. This will bail out with:

output_test_stream_test.cpp: In member function 'void
output_test_stream_test.cpp:30: error: ISO C++ forbids braced-groups within

I've disabled "return value support" locally (by commenting out test_tools.hpp
line 86) but would like to have a conformant solution.

Should we rise the warning level by _always_ activating "-pedantic" at least
for the test suite ?



* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        !
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !

Boost list run by bdawes at, gregod at, cpdaniel at, john at