Skip to content

Commit

Permalink
feat(build): add -Wextra to "picky" compiler flags
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Sielicki <[email protected]>

stack-info: PR: aws#588, branch: aws-nslick/stack/30
  • Loading branch information
aws-nslick committed Sep 22, 2024
1 parent 382771b commit 5b76f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ AC_DEFINE_UNQUOTED([OFI_NCCL_TRACE], [${trace}], [Defined to 1 unit test output
AC_ARG_ENABLE([picky-compiler],
[AS_HELP_STRING([--disable-picky-compiler], [Disable adding picky compiler flags.])])
AS_IF([test "${enable_picky_compiler}" != "no"],
[picky_compiler_flags="-Wall -Wc++-compat"
[picky_compiler_flags="-Wall -Wc++-compat -Wextra -Wno-unused-parameter"
AC_MSG_NOTICE([Adding ${picky_compiler_flags} to CFLAGS.])
CFLAGS="${CFLAGS} ${picky_compiler_flags}"
AS_UNSET([picky_compiler_flags])])
Expand Down

0 comments on commit 5b76f23

Please sign in to comment.