Boost logo

Boost :

Subject: [boost] [test] backward compatibility issue
From: Jürgen Hunold (juergen.hunold_at_[hidden])
Date: 2011-10-09 12:15:31


Hi Gennadiy,

I'm getting some compiler errors when using the new trunk version of
Boost.Test with our sources.

I'm getting
error: ‘global_fixture_impl’ in namespace ‘boost::unit_test::ut_detail’ does
not name a type

when using BOOST_GLOBAL_FIXTURE and only #including
"boost/test/unit_test_suite.hpp"

This file #defines at line 179:

static boost::unit_test::ut_detail::global_fixture_impl<F> BOOST_JOIN( gf_, F )
;

a simple #include <boost/test/tree/global_fixture.hpp> fixes this.

Patch attached.

Okay to commit?

yours,

Jürgen

-- 
Dipl.-Math. Jürgen Hunold       | IVE mbH
Software-Entwickler             | Lützerodestraße 10 
Tel: +49 511 897668 33          | 30161 Hannover, Germany
Fax: +49 511 897668 29          | http://www.ivembh.de
juergen.hunold_at_[hidden]        | 
                                | Geschäftsführer:
Sitz des Unternehmens: Hannover | Univ.-Prof. Dr.-Ing. Thomas Siefer               
Amtsgericht Hannover, HRB 56965 | PD Dr.-Ing. Alfons Radtke  



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk