Boost logo

Boost :

From: Steve Huston (shuston_at_[hidden])
Date: 2008-06-20 16:59:08


I'm building a project that uses boost, and it insists on building
with g++
-pedantic on Linux. This is causing an issue in
ptr_container/ptr_vector.hpp (in boost 1.35 it's on line 47)

    public:

        BOOST_PTR_CONTAINER_DEFINE_SEQEUENCE_MEMBERS( ptr_vector,
                                                      base_class,
                                                      this_type );

After BOOST_PTR_CONTAINER_DEFINE_SEQEUENCE_MEMBERS gets done being
expanded in detail/reversible_ptr_container.hpp, the semicolon is
extraneous. g++ 3.4.6 (at least) complains about this:

/usr/local/include/boost/ptr_container/ptr_vector.hpp:45: error: extra
semicolon

Could that be removed?


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