COIN-OR::LEMON - Graph Library

Changeset 718:da70af8844b9 in lemon for lemon


Ignore:
Timestamp:
05/28/09 13:11:50 (15 years ago)
Author:
Akos Ladanyi <ladanyi@…>
Branch:
default
Children:
719:dbf22d9222a2, 847:150004315af4
Phase:
public
Message:

Suppress MSVC warnings using pragmas (#295)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/core.h

    r686 r718  
    2727#include <lemon/bits/traits.h>
    2828#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
    2939
    3040///\file
Note: See TracChangeset for help on using the changeset viewer.