Skip to content

Commit

Permalink
Disable ordered-compare-function-pointers warning on Clang 13+
Browse files Browse the repository at this point in the history
  • Loading branch information
psychonic committed Jul 6, 2024
1 parent c535fe6 commit f5f1478
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions AMBuildScript
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit f5f1478

Please sign in to comment.