diff options
author | Tony Cook <tony@saturn.(none)> | 2013-12-11 09:48:15 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2014-01-16 10:47:07 +1100 |
commit | 61608bb78702625b199caa5a6e160f5c0a034184 (patch) | |
tree | 027cd3db867d222e06e9a6eb9c98b2f271bf91f4 /perl.h | |
parent | 984babd393db946d8ca776fc96936e2ee02460a0 (diff) | |
download | perl-61608bb78702625b199caa5a6e160f5c0a034184.tar.gz |
[perl #120670] make perl headers C++11 compatible
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3029,7 +3029,7 @@ typedef pthread_key_t perl_key; /* Takes three arguments: is_utf8, length, str */ #ifndef UTF8f -# define UTF8f "d%"UVuf"%4p" +# define UTF8f "d%" UVuf "%4p" #endif #define UTF8fARG(u,l,p) (int)cBOOL(u), (UV)(l), (void*)(p) @@ -4118,7 +4118,7 @@ START_EXTERN_C EXTCONST char PL_warn_uninit[] INIT("Use of uninitialized value%s%s%s"); EXTCONST char PL_warn_uninit_sv[] - INIT("Use of uninitialized value%"SVf"%s%s"); + INIT("Use of uninitialized value%" SVf "%s%s"); EXTCONST char PL_warn_nosemi[] INIT("Semicolon seems to be missing"); EXTCONST char PL_warn_reserved[] @@ -4138,7 +4138,7 @@ EXTCONST char PL_no_usym[] EXTCONST char PL_no_aelem[] INIT("Modification of non-creatable array value attempted, subscript %d"); EXTCONST char PL_no_helem_sv[] - INIT("Modification of non-creatable hash value attempted, subscript \"%"SVf"\""); + INIT("Modification of non-creatable hash value attempted, subscript \"%" SVf "\""); EXTCONST char PL_no_modify[] INIT("Modification of a read-only value attempted"); EXTCONST char PL_no_mem[sizeof("Out of memory!\n")] |