|
wrong semantics in boost/python/cast.hpp?: msg#00284python.c++
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: g++ -fPIC -ftemplate-depth-120 -DNDEBUG -O3 -DBOOST_PYTHON_MAX_BASES=2 -DBOOST_PYTHON_SOURCE -I/net_coral/scratch1/rwgk/bug/scitbx_2003_05_26/boost -I/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3 -c -o boost/libs/python/src/converter/arg_to_python_base.os /net_coral/scratch1/rwgk/bug/scitbx_2003_05_26/boost/libs/python/src/converter/arg_to_python_base.cpp Warning message: BD Software STL Message Decryptor v2.35 for gcc /net_coral/scratch1/rwgk/bug/scitbx_2003_05_26/boost/boost/python/cast.hpp: In function `Target * boost::python::detail::upcast_impl(Source *, Target *) [with Source = PyObject, Target = PyObject]': /net_coral/scratch1/rwgk/bug/scitbx_2003_05_26/boost/boost/python/cast.hpp:92: instantiated from `PyObject * boost::python::upcast(PyObject *, PyObject *)' /net_coral/scratch1/rwgk/bug/scitbx_2003_05_26/boost/boost/python/refcount.hpp: 37: instantiated from `void boost::python::xdecref(PyObject *)' /net_coral/scratch1/rwgk/bug/scitbx_2003_05_26/boost/boost/python/handle.hpp:188 : instantiated from `boost::python::handle<PyObject>::~handle()' /net_coral/scratch1/rwgk/bug/scitbx_2003_05_26/boost/libs/python/src/converter/ arg_to_python_base.cpp:25: instantiated from here /net_coral/scratch1/rwgk/bug/scitbx_2003_05_26/boost/boost/python/cast.hpp:81: 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: you can work around this by removing the initializer __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: Recent changes to FAQ: 00284, Ralf W. Grosse-Kunstleve |
|---|---|
| Next by Date: | RE: Converting CString to/from std::string: 00284, Ralf W. Grosse-Kunstleve |
| Previous by Thread: | accessing the python type systemi: 00284, Stefan Seefeld |
| Next by Thread: | Re: wrong semantics in boost/python/cast.hpp?: 00284, David Abrahams |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |