1
0
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:
Nick Hastings 2024-07-06 13:50:12 -04:00
parent c535fe6d3b
commit f5f14786b9

View File

@ -160,6 +160,10 @@ class MMSConfig(object):
'-Wno-implicit-int-float-conversion',
'-Wno-tautological-overlap-compare',
]
if cxx.version >= 'clang-13.0':
cxx.cflags += [
'-Wno-ordered-compare-function-pointers',
]
elif cxx.like('msvc'):
if builder.options.debug == '1':