Permalink
Browse files

Don't be so strict about prototypes because we can't control system l…

…ibraries, and a function declaration of foo() instead of foo(void) makes this error trip.
  • Loading branch information...
1 parent 0b292f8 commit 9f73c7dc9c8d97cf8b4875baac4f7b515ede726e @petdance petdance committed Mar 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/auto/warnings.pm
@@ -161,7 +161,7 @@ sub _init {
-Wmissing-prototypes
-Werror=nested-externs
-Werror=old-style-definition
- -Werror=strict-prototypes
+ -Wstrict-prototypes
);
$gcc->{'basic'} = [ @gcc_or_gpp_basic, @gcc_basic ];

0 comments on commit 9f73c7d

Please sign in to comment.