diff --git a/AMBuildScript b/AMBuildScript index 9e52a273..1be7732e 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -316,6 +316,13 @@ class SMConfig(object): cxx.cxxflags += ['-Wno-deprecated'] cxx.cflags += ['-Wno-sometimes-uninitialized'] + # Work around SDK warnings. + if cxx.version >= 'clang-10.0': + cxx.cflags += [ + '-Wno-implicit-int-float-conversion', + '-Wno-tautological-overlap-compare', + ] + if have_gcc: cxx.cflags += ['-mfpmath=sse'] cxx.cflags += ['-Wno-maybe-uninitialized']