Boost logo

Boost Users :

From: David Ohlemacher (ohlemacher_at_[hidden])
Date: 2003-10-08 12:36:23


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_at_[hidden]> 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_at_[hidden]
>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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net