Skip to content

Commit

Permalink
Make -Wno-literal-conversion clang-only again
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed May 2, 2015
1 parent e92deb7 commit 0dabdf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Basic/Ufunc/Makefile.PL
Expand Up @@ -35,7 +35,7 @@ my %hash = pdlpp_stdargs_int(@pack);
$hash{LIBS}->[0] .= ' -lm';

#suppress warning from "$GENERIC(b) foo = 0.25;", which is intentional.
$hash{INC} .= ' -Wno-literal-conversion ';
$hash{INC} .= ' -Wno-literal-conversion ' if $Config{cc} =~ /\bclang\b/;

undef &MY::postamble; # suppress warning
*MY::postamble = sub {
Expand Down

0 comments on commit 0dabdf2

Please sign in to comment.