Boost logo

Boost-Build :

Subject: [Boost-build] MSVC C4506 warning not suppressed by jamfile
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2008-11-26 11:07:59

Feeling anally retentive today ;-)

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.

For example (there are others) I find it running

C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xstring(239) :
warning C4506: no definition
for inline function 'size_t std::char_traits<_Elem>::length(const _Elem *)'
            _Elem=unsigned short

In my jamfile.v2 project requirements I have added

       <toolset>msvc:<cxxflags>/wd4506 # NO definition for inline function
in MS Xstring).

But this does not silence it :-((

(I've also had trouble silencing some C4996 - unsafe checked iterators
warning - this might have a common cause).

Suggestions? Thanks


Paul A. Bristow
Prizet Farmhouse
Kendal, UK   LA8 8AB
+44 1539 561830, mobile +44 7714330204

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at