COIN-OR::LEMON - Graph Library

Changeset 1077:6039b32a2351 in lemon-main


Ignore:
Timestamp:
08/06/13 09:10:18 (11 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Unused local typedefs warning pragma is only applied to gcc>=4.8 (#470)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/core.h

    r1068 r1077  
    3939
    4040#ifdef __GNUC__
     41#define GCC_VERSION (__GNUC__ * 10000                   \
     42                     + __GNUC_MINOR__ * 100             \
     43                     + __GNUC_PATCHLEVEL__)
     44#endif
     45
     46#if GCC_VERSION >= 40800
    4147// Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.8
    4248#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
Note: See TracChangeset for help on using the changeset viewer.