logo       

Re: wrong semantics in boost/python/cast.hpp?: msg#00290

python.c++

Subject: Re: wrong semantics in boost/python/cast.hpp?

"Ralf W. Grosse-Kunstleve" <rwgk@xxxxxxxxx> 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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise