[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-build
Subject:    Re: [Boost-build] [boost.build] Reducing warnings on system headers,
From:       Brian Dahlquist <bwdahlquist () yahoo ! com>
Date:       2009-09-25 1:50:08
Message-ID: 427618.83870.qm () web112218 ! mail ! gq1 ! yahoo ! com
[Download RAW message or body]

> > Anyway to specify no warnings for these headers (or compile w/ -isystem) ? I \
> > tried playing with the project : <warnings>off stuff, but it seemed a little too \
> > powerful - no errors at all!
> Hi Brian,
> 
> can you try this:
> 
> lib dx_d3d9 : : <name>d3d9 <search>$(path_to_lib) : : <cflags>"-isystem \
> $(path_to_include)" ; 
> - Volodya

This gets it right, thanks!

I had a few problems with my path because it had spaces in it, was surrounded in \
quotes, and the quotations were removed. Fixed with escapes on the variable:

local path_to_include = \""C:/Program Files (x86)/.../Include"\" ;


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic