1
0
mirror of https://gitlab.com/rnger/amath synced 2026-05-08 23:44:57 +00:00

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

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