lemon/core.h
changeset 1246 6039b32a2351
parent 1236 756022ac1674
child 1248 14394c9603c2
child 1249 2c2e8df67ddc
child 1253 5958cc5c0a98
child 1259 8b2d4e5d96e4
equal deleted inserted replaced
43:d51fdada998a 47:0a34931b8a6d
    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
    38 #endif
    39 
    39 
    40 #ifdef __GNUC__
    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 // Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.8
    47 // Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.8
    42 #pragma GCC diagnostic ignored "-Wunused-local-typedefs"
    48 #pragma GCC diagnostic ignored "-Wunused-local-typedefs"
    43 #endif
    49 #endif
    44 
    50 
    45 ///\file
    51 ///\file