Disable Visual Studio warning C4503
authorPeter Kovacs <kpeter@inf.elte.hu>
Tue, 12 May 2009 17:57:49 +0200
changeset 6677e13120d90a2
parent 666 d10545c08e61
child 668 4faca85d40e6
Disable Visual Studio warning C4503
CMakeLists.txt
     1.1 --- a/CMakeLists.txt	Tue May 12 15:55:00 2009 +0100
     1.2 +++ b/CMakeLists.txt	Tue May 12 17:57:49 2009 +0200
     1.3 @@ -18,10 +18,11 @@
     1.4  FIND_PACKAGE(COIN)
     1.5  
     1.6  IF(MSVC)
     1.7 -  SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4250 /wd4355 /wd4800 /wd4996")
     1.8 +  SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4250 /wd4355 /wd4503 /wd4800 /wd4996")
     1.9  # Suppressed warnings:
    1.10  # C4250: 'class1' : inherits 'class2::member' via dominance
    1.11  # C4355: 'this' : used in base member initializer list
    1.12 +# C4503: 'function' : decorated name length exceeded, name was truncated
    1.13  # C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
    1.14  # C4996: 'function': was declared deprecated
    1.15  ENDIF(MSVC)