mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-01-31 20:52:18 +01:00
Disable ordered-compare-function-pointers warning on Clang 13+
This commit is contained in:
parent
c535fe6d3b
commit
f5f14786b9
@ -160,6 +160,10 @@ class MMSConfig(object):
|
|||||||
'-Wno-implicit-int-float-conversion',
|
'-Wno-implicit-int-float-conversion',
|
||||||
'-Wno-tautological-overlap-compare',
|
'-Wno-tautological-overlap-compare',
|
||||||
]
|
]
|
||||||
|
if cxx.version >= 'clang-13.0':
|
||||||
|
cxx.cflags += [
|
||||||
|
'-Wno-ordered-compare-function-pointers',
|
||||||
|
]
|
||||||
|
|
||||||
elif cxx.like('msvc'):
|
elif cxx.like('msvc'):
|
||||||
if builder.options.debug == '1':
|
if builder.options.debug == '1':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user