Further fixes for gcc version 3.3 and 4.3 (#470)
authorAlpar Juttner <alpar@cs.elte.hu>
Tue, 06 Aug 2013 12:04:13 +0200
changeset 805115031ac8001
parent 804 6039b32a2351
child 806 14394c9603c2
child 807 3e711ee55d31
Further fixes for gcc version 3.3 and 4.3 (#470)
lemon/graph_to_eps.h
test/lp_test.cc
     1.1 --- a/lemon/graph_to_eps.h	Tue Aug 06 09:10:18 2013 +0200
     1.2 +++ b/lemon/graph_to_eps.h	Tue Aug 06 12:04:13 2013 +0200
     1.3 @@ -222,7 +222,7 @@
     1.4    using T::_title;
     1.5    using T::_copyright;
     1.6  
     1.7 -  using typename T::NodeTextColorType;
     1.8 +  using T::NodeTextColorType;
     1.9    using T::CUST_COL;
    1.10    using T::DIST_COL;
    1.11    using T::DIST_BW;
     2.1 --- a/test/lp_test.cc	Tue Aug 06 09:10:18 2013 +0200
     2.2 +++ b/test/lp_test.cc	Tue Aug 06 12:04:13 2013 +0200
     2.3 @@ -198,7 +198,12 @@
     2.4        LP::Constr c = v >= -3;
     2.5        c = c <= 4;
     2.6        LP::Constr c2;
     2.7 +#if ( __GNUC__ == 4 ) && ( __GNUC_MINOR__ == 3 )
     2.8 +      c2 = ( -3 <= v ) <= 4;
     2.9 +#else
    2.10        c2 = -3 <= v <= 4;
    2.11 +#endif
    2.12 +
    2.13      }
    2.14  
    2.15      e[x[3]]=2;