[shared_ptr] class ... has pointer data members but does not override ...
Hello,
a Boost newbie question:
Arch: PPC, OS: Mac OS X 10.4.10, Compiler: GCC 4.0.1
In a C++ dynamic library, I'm just developing, I have:
#include
Klaus Backert: ...
I get the following warning: /usr/local/include/boost/shared_ptr.hpp: In instantiation of 'boost::shared_ptrstd::string': /Volumes/blablabla/MyClass.cpp:81: instantiated from here /usr/local/include/boost/shared_ptr.hpp:131: warning: 'class boost::shared_ptrstd::string' has pointer data members /usr/local/include/boost/shared_ptr.hpp:131: warning: but does not override 'boost::shared_ptrstd::string(const boost::shared_ptrstd::string&)'
...
Can I ignore the warnings or should I do something?
Yes, I think that you can safely ignore the warnings in this particular case.
participants (2)
-
Klaus Backert
-
Peter Dimov