Silence warnings in dcraw.cc when using gcc >= 7

This commit is contained in:
heckflosse 2017-06-26 02:16:11 +02:00
parent a0b6ee9058
commit c60ed7a736

View File

@ -3,8 +3,11 @@
#pragma GCC diagnostic ignored "-Warray-bounds"
#pragma GCC diagnostic ignored "-Wsign-compare"
#pragma GCC diagnostic ignored "-Wparentheses"
#if (__GNUC__ == 6)
#if (__GNUC__ >= 6)
#pragma GCC diagnostic ignored "-Wmisleading-indentation"
#if (__GNUC__ >= 7)
#pragma GCC diagnostic ignored "-Wdangling-else"
#endif
#endif
#endif