5 Nov
2014
5 Nov
'14
2:16 p.m.
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.