equal
deleted
inserted
replaced
35 // C4996: 'function': was declared deprecated |
35 // C4996: 'function': was declared deprecated |
36 #ifdef _MSC_VER |
36 #ifdef _MSC_VER |
37 #pragma warning( disable : 4250 4355 4503 4800 4996 ) |
37 #pragma warning( disable : 4250 4355 4503 4800 4996 ) |
38 #endif |
38 #endif |
39 |
39 |
40 #ifdef __GNUC__ |
40 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8) |
41 #define GCC_VERSION (__GNUC__ * 10000 \ |
|
42 + __GNUC_MINOR__ * 100 \ |
|
43 + __GNUC_PATCHLEVEL__) |
|
44 #endif |
|
45 |
|
46 #if GCC_VERSION >= 40800 |
|
47 // Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.8 |
41 // Needed by the [DI]GRAPH_TYPEDEFS marcos for gcc 4.8 |
48 #pragma GCC diagnostic ignored "-Wunused-local-typedefs" |
42 #pragma GCC diagnostic ignored "-Wunused-local-typedefs" |
49 #endif |
43 #endif |
50 |
44 |
51 ///\file |
45 ///\file |