[C++-sig] Re: wrong semantics in boost/python/cast.hpp?
David Abrahams
dave at boost-consulting.com
Tue May 27 21:47:24 CEST 2003
"Ralf W. Grosse-Kunstleve" <rwgk at yahoo.com> writes:
> When removing the "-w" option from the compilation command under Mac OS 10 the
> g++ 3.3 compiler spits out the warning that is attached below. What do we think
> about this?
> Thanks,
> Ralf
>
> Compilation command:
> warning: sorry:
> semantics of inline function static data `const bool same' are wrong (
> you'll
> wind up with multiple copies)
> /net_coral/scratch1/rwgk/bug/scitbx_2003_05_26/boost/boost/python/cast.hpp:81:
> warning:
We think that the warning is wrong, but all the same, the "static"
keyword should be removed from the line in question.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the Cplusplus-sig
mailing list