COIN-OR::LEMON - Graph Library

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/core.h

    r1270 r1327  
    3030// Disable the following warnings when compiling with MSVC:
    3131// C4250: 'class1' : inherits 'class2::member' via dominance
     32// C4267: conversion from 'size_t' to 'type', possible loss of data
    3233// C4355: 'this' : used in base member initializer list
    3334// C4503: 'function' : decorated name length exceeded, name was truncated
     
    3536// C4996: 'function': was declared deprecated
    3637#ifdef _MSC_VER
    37 #pragma warning( disable : 4250 4355 4503 4800 4996 )
     38#pragma warning( disable : 4250 4267 4355 4503 4800 4996 )
    3839#endif
    3940
    40 #ifdef __GNUC__
    41 #define GCC_VERSION (__GNUC__ * 10000                   \
    42                      + __GNUC_MINOR__ * 100             \
    43                      + __GNUC_PATCHLEVEL__)
    44 #endif
    45 
    46 #if GCC_VERSION >= 40800
     41#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
    4742// Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.8
    4843#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
Note: See TracChangeset for help on using the changeset viewer.