develooper Front page | perl.perl5.porters | Postings from September 2014

[perl #122861] [PATCH] for storage of NVs, use "IV in sv_u in head no-body trick" where possible

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
September 28, 2014 06:57
Subject:
[perl #122861] [PATCH] for storage of NVs, use "IV in sv_u in head no-body trick" where possible
Message ID:
rt-4.0.18-25578-1411887432-1221.122861-15-0@perl.org
On Sat Sep 27 22:50:38 2014, bulk88 wrote:
> This is a bug report for perl from bulk88@hotmail.com,
> generated with the help of perlbug 1.40 running under perl 5.21.4.
> 
> 
> -----------------------------------------------------------------
> [Please describe your issue here]
> 
> See attached patch.

sv.c:13252:16: warning: implicit declaration of function 'new_XNV'
      [-Wimplicit-function-declaration]
        SvANY(dstr)     = new_XNV();
...
Undefined symbols for architecture x86_64:
  "_new_XNV", referenced from:
      _S_sv_dup_common in sv.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I think you need to update S_sv_dup_common as well.

On system (64-bit darwin) both IVSIZE and NVSIZE are 8.

-- 

Father Chrysostomos


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

Thread Previous | 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