Added checks for "zero-as-null-pointer-constant" warnings for older Clang (#2299, followup to #2277)

This commit is contained in:
omar
2019-01-20 17:45:36 +01:00
parent 8a63c72ac4
commit f94ba546ba
6 changed files with 12 additions and 0 deletions

View File

@ -46,7 +46,9 @@ Index of this file:
#pragma clang diagnostic ignored "-Wunused-function" // for stb_textedit.h
#pragma clang diagnostic ignored "-Wmissing-prototypes" // for stb_textedit.h
#pragma clang diagnostic ignored "-Wold-style-cast"
#if __has_warning("-Wzero-as-null-pointer-constant")
#pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant"
#endif
#if __has_warning("-Wdouble-promotion")
#pragma clang diagnostic ignored "-Wdouble-promotion"
#endif