develooper Front page | perl.perl5.porters | Postings from February 2015

Re: [perl #123831] perlbug AutoReply: 5.21.8 fails compiling with icc

From:
Jens Rehsack
Date:
February 14, 2015 11:40
Subject:
Re: [perl #123831] perlbug AutoReply: 5.21.8 fails compiling with icc
Message ID:
B59B1ED2-0C86-474C-B0C3-9FA53EDDC3EE@gmail.com
Following patch solves the issue locally:

$ git diff
diff --git a/perl.h b/perl.h
index 9976f86..0b2dfa8 100644
--- a/perl.h
+++ b/perl.h
@@ -378,7 +378,7 @@
  * __typeof__ and nothing else.
  */
 #ifndef PERL_UNUSED_RESULT
-#  if defined(__GNUC__) && defined(HASATTRIBUTE_WARN_UNUSED_RESULT)
+#  if defined(__GNUC__) && !defined(__INTEL_COMPILER) && defined(HASATTRIBUTE_WARN_UNUSED_RESULT)
 #    define PERL_UNUSED_RESULT(v) STMT_START { __typeof__(v) z = (v); (void)sizeof(z); } STMT_END
 #  else
 #    define PERL_UNUSED_RESULT(v) ((void)(v))

It is very likely that xlc in GNU mode has same issues - Tux, can you verify that?

Cheers,
Jens

> Am 14.02.2015 um 12:05 schrieb perlbug-followup@perl.org:
> 
> Greetings,
> 
> This message has been automatically generated in response to the
> creation of a perl bug report regarding:
>   "5.21.8 fails compiling with icc".
> 
> There is no need to reply to this message right now.  Your ticket has been
> assigned an ID of [perl #123831]. 
> 
> You can view your ticket at
> https://rt.perl.org/Ticket/Display.html?id=123831
> 
> Within the next 24 to 72 hours, your message will be posted to the Perl 5 Porters mailing list. Please be patient!
> 
> Please include the string:
> 
>   [perl #123831]
> 
> in the subject line of all future correspondence about this issue. To do so, 
> you may reply to this message (please delete unnecessary quotes and text.)
> 
>  Thank you,
>  perlbug-followup@perl.org
> 
> -------------------------------------------------------------------------
> Return-Path: <rehsack@gmail.com>
> Reply-To: rehsack@gmail.com
> From rehsack@gmail.com Sat Feb 14 11:05:43 2015
> Subject: 5.21.8 fails compiling with icc
> Date: Sat, 14 Feb 2015 12:05:31 +0100 (CET)
> Message-ID: <5.20.1_21867_1423911577@ernie.muppets.liwing.de>
> Delivered-To: rt-perl5@rt.perl.org
> Delivered-To: perlbug@perl.org
> To: perlbug@perl.org
> Received: (qmail 4350 invoked by uid 225); 14 Feb 2015 11:05:41 -0000
> Received: (qmail 4346 invoked by alias); 14 Feb 2015 11:05:41 -0000
> Received: from p578b540c.dip0.t-ipconnect.de (HELO ernie.muppets.liwing.de) (87.139.84.12) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Sat, 14 Feb 2015 03:05:37 -0800
> Received: by ernie.muppets.liwing.de (Postfix, from userid 501) id 6F6747132CF7; Sat, 14 Feb 2015 12:05:31 +0100 (CET)
> CC: rehsack@gmail.com
> From: rehsack@gmail.com
> X-Spam-Status: No, hits=-4.3 required=8.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,PERLBUG_CONF,SPF_SOFTFAIL
> X-Spam-Check-BY: la.mx.develooper.com
> X-RT-Original-Encoding: ascii
> content-type: text/plain; charset="utf-8"
> X-RT-Interface: Email

-- 
Jens Rehsack
rehsack@gmail.com




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