Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-08-19 11:39:46


From: "John Maddock" <jm_at_[hidden]>
> > If one of these options is "Zero-length empty class members", this will
> > cause CodeGuard to report (apparently false) errors in shared_ptr.
> > Zero-length empty class members are non-conforming.
>
> Good point, however, bjam does not build codeguard protected libraries,
and
> without these flags boost libraries are incompatible with the default IDE
> options. Probably the best fix is to protect your code against that
option
> with:
>
> #ifdef __CODEGUARD__
> # pragma option push -Vx-
> #endif
>
> // code
>
>
> #ifdef __CODEGUARD__
> # pragma option pop
> #endif
>
> Then the problem will not occur, no matter how the code is compiled.

Thanks, now if someone with CodeGuard could tell me where should these
checks go... :-)


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