On Wed, 8 Oct 2003, David Abrahams wrote:
David Ohlemacher <ohlemacher@bbn.com> writes:
Hi all from a boost newbie,
Given:
Linux RH 8.0
gcc 3.2
BOOST_VERSION 103002
I created a boost app and it compiles and runs however I am getting
lots of warnings of the form
/usr/lib/boost/boost/iterator_adaptors.hpp:775:43: warning:
"BOOST_MSVC" is not defined.
What am I not doing correctly?
You're using -Wall ;-)
Unless I'm missing something, this warning is caused by -Wundef. And this
option is not set by -Wall. So this is not because of -Wall.
We're currently discussing what to do about these warnings on the
developers' list. Stay tuned, and until then turn off -Wall or live
with the warnings.
So rather than removing -Wall, just remove -Wundef (or use -Wno-undef when
compiling).
Guillaume
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users