Enable -Wzero-as-null-pointer-constant in wx headers

This warning shouldn't need to be disabled any longer now that we use
nullptr instead of NULL.
This commit is contained in:
Vadim Zeitlin 2022-10-17 01:23:13 +02:00
parent 4f4c5fcfdf
commit 23b0c7f9d2

View file

@ -307,12 +307,6 @@
GCC_TURN_OFF(redundant-tags) // "struct tm" triggers this
#endif // 10.1
// This one is given for NULL, and not just literal 0, up to gcc 10, and so
// has to remain disabled for as long as we use any NULLs in our code.
#if !CHECK_GCC_VERSION(10,1)
GCC_TURN_OFF(zero-as-null-pointer-constant)
#endif
// These ones could be useful to explore, but for now we don't use "final"
// at all anywhere.
#if CHECK_GCC_VERSION(5,1)