Skip to content

Commit 6d366ba

Browse files
committed
Add -Wshadow to --picky-compiler.
Signed-off-by: Austen Lauria <awlauria@us.ibm.com>
1 parent edb0d97 commit 6d366ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/opal_setup_cc.m4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ AC_DEFUN([OPAL_SETUP_CC],[
296296
_OPAL_CHECK_SPECIFIC_CFLAGS(-Wmissing-prototypes, Wmissing_prototypes)
297297
_OPAL_CHECK_SPECIFIC_CFLAGS(-Wstrict-prototypes, Wstrict_prototypes)
298298
_OPAL_CHECK_SPECIFIC_CFLAGS(-Wcomment, Wcomment)
299+
_OPAL_CHECK_SPECIFIC_CFLAGS(-Wshadow, Wshadow)
299300
_OPAL_CHECK_SPECIFIC_CFLAGS(-Werror-implicit-function-declaration, Werror_implicit_function_declaration)
300301
_OPAL_CHECK_SPECIFIC_CFLAGS(-Wno-long-double, Wno_long_double, int main() { long double x; })
301302
_OPAL_CHECK_SPECIFIC_CFLAGS(-fno-strict-aliasing, fno_strict_aliasing, int main() { long double x; })

0 commit comments

Comments
 (0)