lemon/core.h
branch1.1
changeset 673 150004315af4
parent 635 72ac25ad276e
child 734 9f22c22fe227
     1.1 --- a/lemon/core.h	Wed May 13 09:58:09 2009 +0100
     1.2 +++ b/lemon/core.h	Thu May 28 16:59:51 2009 +0100
     1.3 @@ -27,6 +27,16 @@
     1.4  #include <lemon/bits/traits.h>
     1.5  #include <lemon/assert.h>
     1.6  
     1.7 +// Disable the following warnings when compiling with MSVC:
     1.8 +// C4250: 'class1' : inherits 'class2::member' via dominance
     1.9 +// C4355: 'this' : used in base member initializer list
    1.10 +// C4503: 'function' : decorated name length exceeded, name was truncated
    1.11 +// C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
    1.12 +// C4996: 'function': was declared deprecated
    1.13 +#ifdef _MSC_VER
    1.14 +#pragma warning( disable : 4250 4355 4503 4800 4996 )
    1.15 +#endif
    1.16 +
    1.17  ///\file
    1.18  ///\brief LEMON core utilities.
    1.19  ///