mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Disabled clang warnings in glsl-optimizer.
This commit is contained in:
parent
c97cec7114
commit
3ff8afcb7b
1 changed files with 5 additions and 0 deletions
5
3rdparty/glsl-optimizer/include/c99_compat.h
vendored
5
3rdparty/glsl-optimizer/include/c99_compat.h
vendored
|
@ -66,14 +66,19 @@
|
||||||
# define _CRTRESTRICT
|
# define _CRTRESTRICT
|
||||||
#else
|
#else
|
||||||
// BK - STFU!
|
// BK - STFU!
|
||||||
|
# pragma GCC diagnostic ignored "-Wunknown-pragmas"
|
||||||
# pragma GCC diagnostic ignored "-Wformat="
|
# pragma GCC diagnostic ignored "-Wformat="
|
||||||
# pragma GCC diagnostic ignored "-Wformat-extra-args"
|
# pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||||
# pragma GCC diagnostic ignored "-Wignored-qualifiers"
|
# pragma GCC diagnostic ignored "-Wignored-qualifiers"
|
||||||
# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
# pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||||
# pragma GCC diagnostic ignored "-Wreorder"
|
# pragma GCC diagnostic ignored "-Wreorder"
|
||||||
|
# pragma GCC diagnostic ignored "-Woverloaded-virtual"
|
||||||
|
//# pragma GCC diagnostic ignored "-Wparentheses-equality"
|
||||||
# pragma GCC diagnostic ignored "-Wsign-compare"
|
# pragma GCC diagnostic ignored "-Wsign-compare"
|
||||||
|
# pragma GCC diagnostic ignored "-Wunneeded-internal-declaration"
|
||||||
# pragma GCC diagnostic ignored "-Wunused-parameter"
|
# pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||||
|
# pragma GCC diagnostic ignored "-Wunused-private-field"
|
||||||
# pragma GCC diagnostic ignored "-Wunused-variable"
|
# pragma GCC diagnostic ignored "-Wunused-variable"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue