Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2003-03-24 14:52:13


----- Original Message -----
From: "Fernando Cacciola" <fernando_cacciola_at_[hidden]>
> > Following snippet of code fails:
> > -----------------
> > #include <boost/optional.hpp>
> > #include <utility>
> >
> > void foo(const boost::optional<std::pair<unsigned, unsigned> >& aux =
> > boost::optional<std::pair<unsigned, unsigned> >())
> > {}
> >
> > int main() {}
> > -----------------
[snip]
> Hmm..
> I can't reproduce the problem here with the 1.30.0 release,
> BCB6, update 4, from within the IDE.
> Which command line options are you using?
>

The BCB flags are:
CFLAG1
= -Od -H=$(BCB)\lib\vcl60.csm -Hc -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi- -tWC
\

-tWM- -c

IDLCFLAGS = -IC:\Temp\optional_test -I$(BCB)\include -I$(BCB)\include\vcl \

-IC:\Work\Editor\3pp\boost_1_30_0 -src_suffix cpp -D_DEBUG -boa

PFLAGS = -$YD -$W -$O- -$A8 -v -JPHNE -M

RFLAGS =

AFLAGS = /mx /w2 /zd

LFLAGS = -D"" -ap -Tpe -x -Gn -v

It is normal console IDE project in BCB Enterprise, using default options.
It fails with 1.30 as well here.

I may send you the whole project if you want.

/Pavel


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