Add -Wno-unused-function to misc.h (GH #793)

This was added to misc.h due to the noise created by NumericLimitsMin and NumericLimitsMax. It should make it easier to remove -Wno-unused-function from config.h.
pull/795/head
Jeffrey Walton 2019-01-30 20:52:21 -05:00
parent df98f8c16b
commit b29faeab58
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 0 deletions

1
misc.h
View File

@ -23,6 +23,7 @@
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wconversion"
# pragma GCC diagnostic ignored "-Wsign-conversion"
# pragma GCC diagnostic ignored "-Wunused-function"
#endif
#include "cryptlib.h"