Skip to content

Commit ba2766f

Browse files
committed
Disable -Wunsafe-buffer-usage and -Wold-style-cast, too.
1 parent 6b59501 commit ba2766f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ci/monolithic-windows.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
4949
-D CMAKE_EXE_LINKER_FLAGS="/MANIFEST:NO" \
5050
-D CMAKE_MODULE_LINKER_FLAGS="/MANIFEST:NO" \
5151
-D CMAKE_SHARED_LINKER_FLAGS="/MANIFEST:NO" \
52-
-D CMAKE_CXX_FLAGS="-Wno-c++98-compat -Wno-c++14-compat" \
52+
-D CMAKE_CXX_FLAGS="-Wno-c++98-compat -Wno-c++14-compat -Wno-unsafe-buffer-usage -Wno-old-style-cast" \
5353
-D LLVM_ENABLE_RUNTIMES="${runtimes}"
5454

5555
start-group "ninja"

0 commit comments

Comments
 (0)