diff options
author | Dominic Dunlop <domo@computer.org> | 2006-11-26 13:01:16 +0100 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-11-28 01:32:07 +0000 |
commit | e5afc1aea69c61fd216c89b539e0b6d44ea5b581 (patch) | |
tree | 6587e04b684998dac3a4732b1a3b58a385f8949f /perl.h | |
parent | 63cdf24b4587df192f2f3f9a9c78a397a2e527db (diff) | |
download | perl-e5afc1aea69c61fd216c89b539e0b6d44ea5b581.tar.gz |
Re: [PATCH] perlhack: some portability updates
Message-Id: <253514EB-BA57-4A43-93FA-75D6F3CF27BC@mac.com>
p4raw-id: //depot/perl@29398
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -377,7 +377,7 @@ register struct op *Perl_op asm(stringify(OP_IN_REGISTER)); # endif #endif -/* gcc (-ansi) -pedantic doesn't allow gcc brace groups, +/* gcc (-ansi) -pedantic doesn't allow gcc statement expressions, * g++ allows them but seems to have problems with them * (insane errors ensue). */ #if defined(PERL_GCC_PEDANTIC) || (defined(__GNUC__) && defined(__cplusplus)) @@ -1506,9 +1506,10 @@ EXTERN_C char *crypt(const char *, const char *); * If we have v?snprintf() and the C99 variadic macros, we can just * use just the v?snprintf(). It is nice to try to trap the buffer * overflow, however, so if we are DEBUGGING, and we cannot use the - * gcc brace groups, then use the function wrappers which try to trap - * the overflow. If we can use the gcc brace groups, we can try that - * even with the version that uses the C99 variadic macros. + * gcc statement expressions, then use the function wrappers which try + * to trap the overflow. If we can use the gcc statement expressions, + * we can try that even with the version that uses the C99 variadic + * macros. */ /* Note that we do not check against snprintf()/vsnprintf() returning |