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

RE: Quads on Win32

Thread Previous
From:
Jan Dubois
Date:
February 25, 2008 10:45
Subject:
RE: Quads on Win32
Message ID:
0b0d01c877de$916b9110$b442b330$@com
On Mon, 25 Feb 2008, Steve Hay wrote:
> Does anyone know why d_quad and quadkind are set to 'undef' and '5'
> respectively on Win32 for VC++, MinGW and Borland?
>
> It seems to me that d_quad should be 'define' for all compilers, and
> quadkind should be '4' (meaning QUAD_IS_INT64_T) for VC++ and Borland
> or '3' (meaning QUAD_IS_LONG_LONG) for MinGW.
>
> (VC64 already has d_quad and quadkind set to 'define' and '4'
> respectively, and all four set-ups have the correct quadtype and
> u_quadtype filled in already: 'long long' for MinGW and '__int64' for
> the rest.)

I don't think it matters because the quad types aren't really being used
unless you compile Perl with IVSIZE set to 8 (there may be some UTF8
code that uses the quads even in 32-bit mode, I'm not sure).

Cheers,
-Jan



Thread Previous


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