NAME

config/auto/warnings.pm - Warning flags detection

DESCRIPTION

Automagically detect what warning flags, like -Wall, -Wextra, -Wchar-subscripts, etc., that the compiler can support. Directly hacked from config/auto/attributes.pm.

SUBROUTINES

try_warning
Try a given warning to see if it is supported by the compiler. The compiler is determined by the cc value of the Parrot::Configure object passed in as the first argument to the method (not counting $self. The warning to be checked is passed in as the second argument to the method.Returns true if the warning flag is recognised by the compiler and undef otherwise.

AUTHOR

Paul Cochrane <paultcochrane at gmail dot com>