in reply to perl 5.14.0-RC1 is available for testing!
In perl\win32\config.h I have$ perl -e "print pack 'Q',1" Invalid type 'Q' in pack at -e line 1.
And it seems to have made it into Config/* HAS_QUAD: * This symbol, if defined, tells that there's a 64-bit integer typ +e, * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be +one * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT6 +4_T. */ #define HAS_QUAD /**/ #ifdef HAS_QUAD # define Quad_t long long /**/ # define Uquad_t unsigned long long /**/ # define QUADKIND 3 /**/ # define QUAD_IS_INT 1 # define QUAD_IS_LONG 2 # define QUAD_IS_LONG_LONG 3 # define QUAD_IS_INT64_T 4 #endif
So q/Q for pack/unpack should work, right?$ perl "-V:.*?quad.*?" d_quad='define'; quadkind='3'; quadtype='long long'; uquadtype='unsigned long long';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl 5.14.0-RC1 is available for testing!
by BrowserUk (Patriarch) on May 02, 2011 at 00:44 UTC | |
|
Re^2: perl 5.14.0-RC1 is available for testing!
by syphilis (Archbishop) on May 02, 2011 at 02:26 UTC | |
by Anonymous Monk on May 02, 2011 at 03:38 UTC | |
by syphilis (Archbishop) on May 02, 2011 at 14:04 UTC |