develooper Front page | perl.perl5.porters | Postings from June 2013

[perl #117533] [PATCH] 4d011b4 Use -Wno-unused-value also on other clang compilers

From:
Tony Cook via RT
Date:
June 27, 2013 01:47
Subject:
[perl #117533] [PATCH] 4d011b4 Use -Wno-unused-value also on other clang compilers
Message ID:
rt-3.6.HEAD-2552-1372297620-1563.117533-15-0@perl.org
On Mon Apr 08 10:27:18 2013, rurban@cpanel.net wrote:
> clang++ or clang-3.2, ...
> ---
>  cflags.SH |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 
> diff --git a/cflags.SH b/cflags.SH
> index 899c465..b48a8c2 100755
> --- a/cflags.SH
> +++ b/cflags.SH
> @@ -306,7 +306,7 @@ for file do
>      cppflags=`echo $cppflags|sed 's/-Wdeclaration-after-statement/
>    /'`
> 
>      case "$cc" in
> -    *clang)
> +    *clang*)
>        # clang complains a lot about -Wunused-value which are not
>    fixable
>        warn="$warn -Wno-unused-value"
>        ;;
> 

Thanks, applied as eb387cb8e5146f6b88b5251736da23e4d2ffb844.

Tony

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org:443/rt3/Ticket/Display.html?id=117533



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About