Skip to content

Commit

Permalink
-Wno-sync-alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-johnson committed Jul 16, 2024
1 parent 301c610 commit 09fba5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,8 @@ RUNTIME_CXX_FLAGS = \
-Wno-unknown-warning-option \
-Wno-unused-function \
-Wvla \
-Wsign-compare
-Wsign-compare \
-Wno-sync-alignment

$(BUILD_DIR)/initmod.windows_%_x86_32.ll: $(SRC_DIR)/runtime/windows_%_x86.cpp $(BUILD_DIR)/clang_ok
@mkdir -p $(@D)
Expand Down
1 change: 1 addition & 0 deletions src/runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ set(RUNTIME_CXX_FLAGS
-Wvla
-Wsign-compare
-Wimplicit-fallthrough
-Wno-sync-alignment
)

option(Halide_CLANG_TIDY_BUILD "Generate fake compile jobs for runtime files when running clang-tidy." OFF)
Expand Down

0 comments on commit 09fba5f

Please sign in to comment.