Boost logo

Boost :

From: John Maddock (jm_at_[hidden])
Date: 2002-08-19 06:06:26

> 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

#ifdef __CODEGUARD__
# pragma option push -Vx-

// code

#ifdef __CODEGUARD__
# pragma option pop

Then the problem will not occur, no matter how the code is compiled.

John Maddock

Boost list run by bdawes at, gregod at, cpdaniel at, john at