Skip to content

Commit

Permalink
Fix #2205, Enforce strict cast alignment on arch
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Nov 10, 2022
1 parent 7a220ae commit d334faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/sample_defs/arch_build_custom.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ add_compile_options(
-Wstrict-prototypes # Warn about missing prototypes
-Wwrite-strings # Warn if not treating string literals as "const"
-Wpointer-arith # Warn about suspicious pointer operations
-Wcast-align # Warn about casts that increase alignment requirements
-Wcast-align=strict # Warn about casts that increase alignment requirements
-Werror # Treat warnings as errors (code should be clean)
-Wno-format-truncation # Inhibit printf-style format truncation warnings
-Wno-stringop-truncation # Inhibit string operation truncation warnings
Expand Down

0 comments on commit d334faf

Please sign in to comment.