|
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
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.
John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk