|
Boost Users : |
Subject: Re: [Boost-users] boost 1.57: MS VS2008: unknown pragma in type_index.hpp
From: Edward Diener (eldiener_at_[hidden])
Date: 2014-11-05 09:16:32
On 11/5/2014 3:32 AM, Andreas Wehrmann wrote:
> Hi!
>
> I've just compiled boost 1.57 with MS VS2008 x86 and this warning came
> all over the place:
>
> main\lib\boost_1_57_0\boost\type_index.hpp(37) : warning C4068: unknown
> pragma
>
> Still, the compilation went fine and everything seems to work as usual.
> It's just somewhat annoying because this warning pops up very often when
> I compile my applications.
A fix for this is on 'develop' but did not get into Boost 1.57.
If you want to eliminate it locally, look for
BOOST_HAS_PRAGMA_DETECT_MISMATCH in
boost/libs/config/include/boost/config/compiler/visualc.hpp and change
the line above it to read:
#if _MSC_VER >= 1600 // 160X == VC++ 10.0
After saving, rerun 'b2 headers' from the installation directory.
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