Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-11-30 09:28:27


From: "David Abrahams" <david.abrahams_at_[hidden]>
> From: "Peter Dimov" <pdimov_at_[hidden]>
>
> > Comeau and Intel fail because void returns don't work, but
> > BOOST_NO_VOID_RETURNS is not defined (they fail config_test as well.)
> >
> > Both compilers can be configured to allow void returns, I believe -
> probably
> > their MS compatibility mode turns void returns off.
>
> Why not just use the VC workarounds everywhere? Maintaining two separate
> approaches has got to be more expensive than maintaining one.

Simply because they don't work everywhere. Currently some of them don't even
work on VC6 with debug info on, although the cause is unclear so this might
be my fault.

Either way, BOOST_NO_VOID_RETURNS has to be defined on compilers that don't
support void returns. When the boost config is broken, you can't expect
libraries to work.

--
Peter Dimov
Multi Media Ltd.

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