Guillaume,

Thanks for the info.  I asked because my first project, the real one, does not generate the warning.  I created a second one to test some things within.  I found were I had set  -Wno-undef  in the first project in KDevelop.

Thanks,
-d

Guillaume Melquiond wrote:
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

  

-- 
David Ohlemacher
BBN Technologies
127 John Clarke Rd.
Middletown, RI 02878
Phone: (401)848-3542, Fax:(401)849-8611
ohlemacher at bbn dot com