develooper Front page | perl.perl5.porters | Postings from April 2008

Re: Change 33657: Split out S_refcounted_he_new_common() from

Thread Next
From:
Jerry D. Hedden
Date:
April 7, 2008 09:55
Subject:
Re: Change 33657: Split out S_refcounted_he_new_common() from
Message ID:
1ff86f510804070955q2c6216f0r75730af8a96b0cc5@mail.gmail.com
> Change 33657 by nicholas@mouse-mill on 2008/04/07 14:45:33
>
>         Split out S_refcounted_he_new_common() from
>         Perl_refcounted_he_new_common(), so that Perl_store_cop_label() can
>         call it without needing to create two temporary SVs. Use it in
>         newSTATEOP() and eliminate the two temporary SVs. Make
>         Perl_fetch_cop_label() more defensive by not assuming that the value
>         for ":" is always a PV. Remove its "compatibility" macro.
>
>  Affected files ...
>
>  ... //depot/perl/embed.fnc#610 edit
>  ... //depot/perl/embed.h#757 edit
>  ... //depot/perl/globvar.sym#13 edit
>  ... //depot/perl/hv.c#373 edit
>  ... //depot/perl/op.c#998 edit
>  ... //depot/perl/pod/perltodo.pod#217 edit
>  ... //depot/perl/proto.h#945 edit

This changes breaks the build:

          CCCMD =  gcc -DPERL_CORE -c -DPERL_PATCHNUM=33657
-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -DNO_MATHOMS
-fno-strict-aliasing -pipe  -Os -pipe -funit-at-a-time -march=pentium4
-mfpmath=sse -mieee-fp -mmmx -msse -msse2 -Wall -W -Wextra
-Wdeclaration-after-statement -Wendif-labels
hv.c: In function `S_refcounted_he_new_common':
hv.c:2828: warning: dereferencing `void *' pointer
hv.c:2828: error: request for member `sv_any' in something not a
structure or union
hv.c:2830: warning: dereferencing `void *' pointer
hv.c:2830: error: request for member `sv_any' in something not a
structure or union
make: *** [hv.o] Error 1
Make failed

Thread Next


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