summaryrefslogtreecommitdiff
path: root/utils/warning_compiler.h
blob: b981ac0f8f337f928ccc53709360f2f8f9cef247 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef WARNING_COMPILER_HPP
#define WARNING_COMPILER_HPP

#ifndef HAVE_GCC_4_4
#undef HAVE_DIAGNOSTIC_PUSH
#if __GNUC__ > 4 || __GNUC__==4 && __GNUC_MINOR__ > 3
# define HAVE_GCC_4_4 1
# define HAVE_DIAGNOSTIC_PUSH 0
// weird, they took it out of 4.5?
#else
# define HAVE_GCC_4_4 0
# define HAVE_DIAGNOSTIC_PUSH 0
#endif
#endif

#endif