[C++-sig] Re: wrong semantics in boost/python/cast.hpp?
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?
> Compilation command:
> warning: sorry:
> semantics of inline function static data `const bool same' are wrong (
> wind up with multiple copies)
We think that the warning is wrong, but all the same, the "static"
keyword should be removed from the line in question.
More information about the Cplusplus-sig