Permalink
Browse files

Add the new -Wuseless-cast flag for G++ 4.8 and beyond

  • Loading branch information...
1 parent 0e22699 commit fc53321e1c8276d8fb746a661b811c3b36626e6b @petdance petdance committed Mar 26, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 config/auto/warnings.pm
View
1 config/auto/warnings.pm
@@ -198,6 +198,7 @@ sub _init {
-Weffc++
-Wstrict-null-sentinel
-Wtraditional
+ -Wuseless-cast
);
$gcc->{'cage'} = [ @gcc_or_gpp_cage ];

0 comments on commit fc53321

Please sign in to comment.