build fix for old gccs (after rev.57620)
enabling the new pragmas only when gcc >= 4.6 gcc 4.2.1 here (OSX)
This commit is contained in:
@@ -44,9 +44,11 @@
|
||||
|
||||
#ifdef __GNUC__
|
||||
# pragma GCC diagnostic error "-Wsign-conversion"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 /* gcc4.6+ only */
|
||||
# pragma GCC diagnostic error "-Wsign-compare"
|
||||
# pragma GCC diagnostic error "-Wconversion"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
const unsigned int hashsizes[] = {
|
||||
5, 11, 17, 37, 67, 131, 257, 521, 1031, 2053, 4099, 8209,
|
||||
|
||||
Reference in New Issue
Block a user