COIN-OR::LEMON - Graph Library

Changeset 1121:1d80ec7d17eb in lemon-main


Ignore:
Timestamp:
04/01/15 18:13:30 (10 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Amend:
33666135623063343334656466616162303238313766323134653265663533626664323233366363
Message:

Remove GCC_VERSION define (#536)

This fix is due to marciso.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/core.h

    r1092 r1121  
    3838#endif
    3939
    40 #ifdef __GNUC__
    41 #define GCC_VERSION (__GNUC__ * 10000                   \
    42                      + __GNUC_MINOR__ * 100             \
    43                      + __GNUC_PATCHLEVEL__)
    44 #endif
    45 
    46 #if GCC_VERSION >= 40800
     40#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
    4741// Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.8
    4842#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
Note: See TracChangeset for help on using the changeset viewer.