# HG changeset patch # User Alpar Juttner # Date 1375189843 -7200 # Node ID deaf433636ca2a145fae3c37fad4e21abd900293 # Parent 015801ff09d127ed3aaf6f70e4675f649eddf690# Parent 756022ac167475c2d4675bbf4c00169ade2bea54 Merge fix #470 to branch 1.1 diff -r 015801ff09d1 -r deaf433636ca lemon/core.h --- a/lemon/core.h Fri Feb 22 16:42:56 2013 +0100 +++ b/lemon/core.h Tue Jul 30 15:10:43 2013 +0200 @@ -37,6 +37,11 @@ #pragma warning( disable : 4250 4355 4503 4800 4996 ) #endif +#ifdef __GNUC__ +// Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.8 +#pragma GCC diagnostic ignored "-Wunused-local-typedefs" +#endif + ///\file ///\brief LEMON core utilities. /// diff -r 015801ff09d1 -r deaf433636ca test/lp_test.cc --- a/test/lp_test.cc Fri Feb 22 16:42:56 2013 +0100 +++ b/test/lp_test.cc Tue Jul 30 15:10:43 2013 +0200 @@ -240,8 +240,7 @@ { LP::DualExpr e,f,g; - LP::Row p1 = INVALID, p2 = INVALID, p3 = INVALID, - p4 = INVALID, p5 = INVALID; + LP::Row p1 = INVALID, p2 = INVALID; e[p1]=2; e[p1]+=2;