test/lp_test.cc
changeset 1259 8b2d4e5d96e4
parent 1232 fc3854d936f7
child 1248 14394c9603c2
child 1270 dceba191c00d
     1.1 --- a/test/lp_test.cc	Wed Nov 28 11:58:00 2012 +0100
     1.2 +++ b/test/lp_test.cc	Wed Aug 07 06:55:05 2013 +0200
     1.3 @@ -198,7 +198,12 @@
     1.4        LP::Constr c = v >= -3;
     1.5        c = c <= 4;
     1.6        LP::Constr c2;
     1.7 +#if ( __GNUC__ == 4 ) && ( __GNUC_MINOR__ == 3 )
     1.8 +      c2 = ( -3 <= v ) <= 4;
     1.9 +#else
    1.10        c2 = -3 <= v <= 4;
    1.11 +#endif
    1.12 +
    1.13      }
    1.14  
    1.15      e[x[3]]=2;
    1.16 @@ -240,8 +245,7 @@
    1.17  
    1.18    {
    1.19      LP::DualExpr e,f,g;
    1.20 -    LP::Row p1 = INVALID, p2 = INVALID, p3 = INVALID,
    1.21 -      p4 = INVALID, p5 = INVALID;
    1.22 +    LP::Row p1 = INVALID, p2 = INVALID;
    1.23  
    1.24      e[p1]=2;
    1.25      e[p1]+=2;