Skip to content

Commit

Permalink
pedantic warnings in B2
Browse files Browse the repository at this point in the history
  • Loading branch information
anarthal committed Nov 27, 2023
1 parent a79bfd2 commit af1a68f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ local requirements =
<toolset>msvc:<define>_SILENCE_CXX17_ADAPTOR_TYPEDEFS_DEPRECATION_WARNING
<toolset>msvc:<define>_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING
<toolset>gcc-13:<cxxflags>-Wno-dangling-reference # GCC13 doesn't understand view types
<toolset>clang:<cxxflags>-Wno-gnu-zero-variadic-macro-arguments # Required by Describe
<toolset>gcc:<cxxflags>-Wno-gnu-zero-variadic-macro-arguments # Required by Describe
<target-os>linux:<define>_XOPEN_SOURCE=600
<target-os>linux:<define>_GNU_SOURCE=1
<target-os>windows:<define>_WIN32_WINNT=0x0601
Expand Down
1 change: 1 addition & 0 deletions tools/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ def _b2_build(
] + (['address-sanitizer=norecover'] if address_sanitizer else []) # can only be disabled by omitting the arg
+ (['undefined-sanitizer=norecover'] if undefined_sanitizer else []) # can only be disabled by omitting the arg
+ [
'warnings=pedantic',
'warnings-as-errors=on',
'-j4',
'libs/mysql/test',
Expand Down

0 comments on commit af1a68f

Please sign in to comment.