diff --git a/infra/base-images/base-clang/Dockerfile b/infra/base-images/base-clang/Dockerfile index 1636d7ecdd2a..3322002bb075 100644 --- a/infra/base-images/base-clang/Dockerfile +++ b/infra/base-images/base-clang/Dockerfile @@ -61,7 +61,8 @@ ENV CCC "clang++" # See https://releases.llvm.org/16.0.0/tools/clang/docs/ReleaseNotes.html#potentially-breaking-changes # Same for deprecated-declarations, int-conversion, # incompatible-function-pointer-types, enum-constexpr-conversion, -# vla-cxx-extension, format-truncation, thread-safety-reference-return +# vla-cxx-extension, format-truncation, thread-safety-reference-return, +# nan-infinity-disabled ENV CFLAGS -O1 \ -fno-omit-frame-pointer \ @@ -75,6 +76,7 @@ ENV CFLAGS -O1 \ -Wno-error=vla-cxx-extension \ -Wno-error=format-truncation \ -Wno-error=thread-safety-reference-return \ + -Wno-error=nan-infinity-disabled \ -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION ENV CXXFLAGS_EXTRA "-stdlib=libc++" ENV CXXFLAGS "$CFLAGS $CXXFLAGS_EXTRA"