[Lemon-commits] Peter Kovacs: Disable Visual Studio warning C4503
Lemon HG
hg at lemon.cs.elte.hu
Tue May 12 18:24:21 CEST 2009
details: http://lemon.cs.elte.hu/hg/lemon/rev/7e13120d90a2
changeset: 712:7e13120d90a2
user: Peter Kovacs <kpeter [at] inf.elte.hu>
date: Tue May 12 17:57:49 2009 +0200
description:
Disable Visual Studio warning C4503
diffstat:
CMakeLists.txt | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (16 lines):
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,10 +18,11 @@
FIND_PACKAGE(COIN)
IF(MSVC)
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4250 /wd4355 /wd4800 /wd4996")
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4250 /wd4355 /wd4503 /wd4800 /wd4996")
# Suppressed warnings:
# C4250: 'class1' : inherits 'class2::member' via dominance
# C4355: 'this' : used in base member initializer list
+# C4503: 'function' : decorated name length exceeded, name was truncated
# C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
# C4996: 'function': was declared deprecated
ENDIF(MSVC)
More information about the Lemon-commits
mailing list