On Sep 4, 2014, at 00:06 , Marvin Humphrey (JIRA) <[email protected]> wrote:
> Marvin Humphrey created CLOWNFISH-3: > --------------------------------------- > > Summary: Charmonizer bombs out trying to set warnings as errors > with Strawberry Perl > Key: CLOWNFISH-3 > URL: https://issues.apache.org/jira/browse/CLOWNFISH-3 > Project: Apache Lucy-Clownfish > Issue Type: Bug > Environment: Strawberry Perl (Windows) > Reporter: Marvin Humphrey > > > Some CPAN testers runs for CFC abort because Charmonizer dies in > `chaz_CFlags_set_warnings_as_errors`: > > http://www.cpantesters.org/cpan/report/b260fc88-6bf3-1014-ba8d-dc39c8a2b2b0 > http://www.cpantesters.org/cpan/report/96afb5dd-6bf4-1014-9814-d0fa468acc79 > http://www.cpantesters.org/cpan/report/2e9cfbe4-7f82-1014-9bf4-d1052b825c07 Strange, the error message is: Don't know how to set warnings as errors with ‘gcc' It seems that chaz_CC.cflags_style doesn’t get set to CHAZ_CFLAGS_STYLE_GNU which would mean that chaz_CC_detect_known_compilers doesn’t work like should. Then there are a couple of failures on OS X: http://www.cpantesters.org/cpan/report/4f843ef2-3378-11e4-9edc-fa674cc0d69e http://www.cpantesters.org/cpan/report/aac1c602-3361-11e4-9c8b-efd94cc0d69e Here the reason is easy to spot. $Config{cc} contains leading whitespace: cc=' cc’ cc=' clang’ Nick
