Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2006-11-10 18:22:48


Ian McCulloch writes:
> > In boost 1.33.1, using MPL with gcc -pedantic gives an annoying error,
> > boost/mpl/print.hpp:62: error: comma at end of enumerator list
> > The trivial fix is to remove the comma at the end of line 60 of that file,
> > which I did for my downloaded copy of boost ages ago, then promptly forgot
> > about it. But I just checked the CVS and it seems that this bug is still
> > present in both HEAD and RC_1_34_0. It would be great if this could be
> > fixed before 1.34.
>
> To followup: this bug seems to only affect gcc 3.3.3, gcc 3.3.5 and later (I
> also tested 3.4.5) are NOT affected.

[...]

> Although it seems to only affect one compiler, and then only in -pedantic
> mode, it is a trivial patch and the current code does seem to be
> non-standard c++. Any reason not to apply?

Applied.

Thanks for the patch and sorry for the delayed response,

-- 
Aleksey Gurtovoy
MetaCommunications Engineering

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