Raise Warnings With VC ++ 9

When the Boost library / headers are used with VC ++ 9 compilers (Visual C ++ 2008 Express Edition or Visual Studio 2008), many good warnings are generated. They have 2 types:

  • Wp64 setup warning.
  • Compiler version warning.

How to disable these warnings?

+1
source share
1 answer
  • Wp64 setup warning.

    Disable the / Wp64 option, which is set by default. You can find it in Project Properties -> C / C ++ -> General.

  • Compiler version warning.

    Go to the Boost trunk (online) and get the last boost \ boost \ config \ compiler \ visualc.hpp header . Expand it with the current file and merge the partitions where _MSC_VER is 1800 . (1800 is the VC9 version number used in the Boost configuration.)

+1
source

Source: https://habr.com/ru/post/1344755/


All Articles