List Info

Thread: warnings=off is not working




warnings=off is not working
user name
2006-02-18 14:27:39
Vladimir Prus <ghostcs.msu.su> writes:

> On Friday 10 February 2006 21:26, David Abrahams wrote:
>
>> >> Dave, do you have a minimal example
reproducing the problem?
>> >
>> > I'm afraid not.  I was building the
Boost.Python tests, though, so it
>> > should be easy enough to reproduce.
>>
>> Maybe this gives you a clue.  Notice that the first
TU is /W0 and the
>> second one is /W4:
>
>
>>       call "C:\Program Files\Microsoft
Visual Studio\VC98\Bin\VCVARS32.BAT"
>>  >nul cl /Zm800 -nologo -TP  /Z7 /Od /Ob0 /W0
/GR /MDd /GB /EHs 
>> "..\..\..\bin.v2\libs\python\test\select
_from_python_test.test\msvc-6.0\de
>>bug\type_id.obj.rsp" -c
>>
-Fo"..\..\..\bin.v2\libs\python\test\select_fro
m_python_test.test\msvc-6.0\
>>debug\type_id.obj"
> .......
>>       call "C:\Program Files\Microsoft
Visual Studio\VC98\Bin\VCVARS32.BAT"
>>  >nul cl /Zm800 -nologo -TP  /Z7 /Od /Ob0 /W4
/GR /MDd /GB /EHs 
>> "..\..\..\bin.v2\libs\python\build\msvc-
6.0\debug\slice.obj.rsp" -c
>>
-Fo"..\..\..\bin.v2\libs\python\build\msvc-6.0
debug\slice.obj"
>>
>>   slice.cpp
>
> Running "bjam" with --debug-building showed
me that the <warnings>off was just 
> not propagated to the boost_python targets, and the
reason was the the 
> "warnings" feature was no marked as
propagated. Fixed in CVS now, let me know 
> if this fixes to problems for you.

I'm afraid not.  

  bjam --v2 warnings=off msvc-8.0

in libs/iterator/test still shows warnings.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
warnings=off is not working
user name
2006-02-28 08:34:12
On Saturday 18 February 2006 17:27, David Abrahams wrote:

> > Running "bjam" with --debug-building
showed me that the <warnings>off was
> > just not propagated to the boost_python targets,
and the reason was the
> > the "warnings" feature was no marked
as propagated. Fixed in CVS now, let
> > me know if this fixes to problems for you.
>
> I'm afraid not.
>
>   bjam --v2 warnings=off msvc-8.0
>
> in libs/iterator/test still shows warnings.

Hmm, when I run:

  bjam --v2 warnings=off -n msvc | grep "W4"

there, I see nothing. And nothing with "W3",
either. Without "warnings=off", 
all command lines include "W4".

Can you name specific file where you see the warnings, and
see what's the 
command line is.

Thanks,
Volodya

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )