author | Alpar Juttner <alpar@cs.elte.hu> |
Tue, 06 Aug 2013 09:10:18 +0200 | |
changeset 1077 | 6039b32a2351 |
parent 1068 | 756022ac1674 |
child 1078 | 115031ac8001 |
lemon/core.h | file | annotate | diff | comparison | revisions |
1.1 --- a/lemon/core.h Tue Jul 30 15:03:53 2013 +0200 1.2 +++ b/lemon/core.h Tue Aug 06 09:10:18 2013 +0200 1.3 @@ -38,6 +38,12 @@ 1.4 #endif 1.5 1.6 #ifdef __GNUC__ 1.7 +#define GCC_VERSION (__GNUC__ * 10000 \ 1.8 + + __GNUC_MINOR__ * 100 \ 1.9 + + __GNUC_PATCHLEVEL__) 1.10 +#endif 1.11 + 1.12 +#if GCC_VERSION >= 40800 1.13 // Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.8 1.14 #pragma GCC diagnostic ignored "-Wunused-local-typedefs" 1.15 #endif