Fix GCC 2.x compiler error

This commit is contained in:
Carsten Larsen 2017-01-10 23:46:29 +01:00
parent 88b65cf4d9
commit 6e6bd6efc6
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
#ifdef __clang__
# pragma clang diagnostic ignored "-Wunused-variable"
# pragma clang diagnostic ignored "-Wstrict-aliasing"
#elif defined(__GNUC__) || defined(__GNUG__) && __GNUC__ > 2
#elif defined(__GNUG__) && __GNUC__ > 2
# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
# pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif