Changeset 671:da70af8844b9 in lemon-main
- Timestamp:
- 05/28/09 13:11:50 (16 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r668 r671 17 17 FIND_PACKAGE(CPLEX) 18 18 FIND_PACKAGE(COIN) 19 20 IF(MSVC)21 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4250 /wd4355 /wd4503 /wd4800 /wd4996")22 # Suppressed warnings:23 # C4250: 'class1' : inherits 'class2::member' via dominance24 # C4355: 'this' : used in base member initializer list25 # C4503: 'function' : decorated name length exceeded, name was truncated26 # C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)27 # C4996: 'function': was declared deprecated28 ENDIF(MSVC)29 19 30 20 INCLUDE(CheckTypeSize) -
lemon/core.h
r639 r671 27 27 #include <lemon/bits/traits.h> 28 28 #include <lemon/assert.h> 29 30 // Disable the following warnings when compiling with MSVC: 31 // C4250: 'class1' : inherits 'class2::member' via dominance 32 // C4355: 'this' : used in base member initializer list 33 // C4503: 'function' : decorated name length exceeded, name was truncated 34 // C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning) 35 // C4996: 'function': was declared deprecated 36 #ifdef _MSC_VER 37 #pragma warning( disable : 4250 4355 4503 4800 4996 ) 38 #endif 29 39 30 40 ///\file
Note: See TracChangeset
for help on using the changeset viewer.