1.1 --- a/lemon/core.h Wed Nov 28 11:58:00 2012 +0100
1.2 +++ b/lemon/core.h Wed Aug 07 06:55:05 2013 +0200
1.3 @@ -37,6 +37,17 @@
1.4 #pragma warning( disable : 4250 4355 4503 4800 4996 )
1.5 #endif
1.6
1.7 +#ifdef __GNUC__
1.8 +#define GCC_VERSION (__GNUC__ * 10000 \
1.9 + + __GNUC_MINOR__ * 100 \
1.10 + + __GNUC_PATCHLEVEL__)
1.11 +#endif
1.12 +
1.13 +#if GCC_VERSION >= 40800
1.14 +// Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.8
1.15 +#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
1.16 +#endif
1.17 +
1.18 ///\file
1.19 ///\brief LEMON core utilities.
1.20 ///