Subject: Re: [Boost-build] MSVC C4506 warning not suppressed by jamfile
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2008-11-27 12:12:59
> -----Original Message-----
> From: Steven Watanabe [mailto:watanabesj_at_[hidden]]
> Sent: 26 November 2008 17:10
> To: Boost.Build developer's and user's list
> Subject: Re: [Boost-build] MSVC C4506 warning not suppressed by jamfile
> Paul A. Bristow wrote:
> > I am trying to silence this warning.
> > As it is in MS code, there isn't much we can do about it - and I've no
> > reason suppose it is a meaningful warning.
> > <snip>
> > In my jamfile.v2 project requirements I have added
> > <toolset>msvc:<cxxflags>/wd4506 # NO definition for inline
> > in MS Xstring).
> > But this does not silence it :-((
> cxxflags is not propagated. You need to suppress this from within the
> regex jamfile.
You are, as ever, correct and this in
lib boost_regex : ../src/$(SOURCES) $(ICU_EXTRA_SOURCE) icu_config2
<toolset>msvc:<cxxflags>/wd4506 # NO definition for inline function
# added PAB 27 Nov 08 for warning in MS Xstring
Does the trick.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk