COIN-OR::LEMON - Graph Library

Ignore:
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • lemon/core.h

    r1239 r1253  
    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"
  • lemon/graph_to_eps.h

    r1159 r1249  
    223223  using T::_copyright;
    224224
    225   using typename T::NodeTextColorType;
     225  using T::NodeTextColorType;
    226226  using T::CUST_COL;
    227227  using T::DIST_COL;
  • lemon/lp_base.h

    r1250 r1252  
    10081008  public:
    10091009
    1010     ///\e \
     1010    ///Unsupported file format exception
    10111011    class UnsupportedFormatError : public Exception
    10121012    {
  • test/lp_test.cc

    r1232 r1247  
    199199      c = c <= 4;
    200200      LP::Constr c2;
     201#if ( __GNUC__ == 4 ) && ( __GNUC_MINOR__ == 3 )
     202      c2 = ( -3 <= v ) <= 4;
     203#else
    201204      c2 = -3 <= v <= 4;
     205#endif
     206
    202207    }
    203208
Note: See TracChangeset for help on using the changeset viewer.