lemon/core.h
changeset 1085 a337a0dd3f75
parent 998 7fdaa05a69a1
parent 1077 6039b32a2351
child 1086 97f1760dcd13
equal deleted inserted replaced
28:55713a4a0fe7 40:c69421e075b1
    33 // C4503: 'function' : decorated name length exceeded, name was truncated
    33 // C4503: 'function' : decorated name length exceeded, name was truncated
    34 // C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
    34 // C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
    35 // C4996: 'function': was declared deprecated
    35 // C4996: 'function': was declared deprecated
    36 #ifdef _MSC_VER
    36 #ifdef _MSC_VER
    37 #pragma warning( disable : 4250 4355 4503 4800 4996 )
    37 #pragma warning( disable : 4250 4355 4503 4800 4996 )
       
    38 #endif
       
    39 
       
    40 #ifdef __GNUC__
       
    41 #define GCC_VERSION (__GNUC__ * 10000                   \
       
    42                      + __GNUC_MINOR__ * 100             \
       
    43                      + __GNUC_PATCHLEVEL__)
       
    44 #endif
       
    45 
       
    46 #if GCC_VERSION >= 40800
       
    47 // Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.8
       
    48 #pragma GCC diagnostic ignored "-Wunused-local-typedefs"
    38 #endif
    49 #endif
    39 
    50 
    40 ///\file
    51 ///\file
    41 ///\brief LEMON core utilities.
    52 ///\brief LEMON core utilities.
    42 ///
    53 ///