diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-03-31 20:02:40 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-03-31 20:02:40 +0000 |
commit | 1266ad8cd9c3c507815c36a6cb8fff26157daf94 (patch) | |
tree | 664cb257fe56fc2f44c09da26651ed7b9a6c168a /perl.h | |
parent | 52ca670a8fddebef5ced52ed063f29408da24778 (diff) | |
download | perl-1266ad8cd9c3c507815c36a6cb8fff26157daf94.tar.gz |
Updated version of the grumpy comment deleted by change #27649,
by Jarkko
p4raw-link: @27649 on //depot/perl: 9ddc1e7af8675795ad0346c1274fd40d4096c50f
p4raw-id: //depot/perl@27653
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -197,6 +197,12 @@ #define CALLREG_INTUIT_STRING CALL_FPTR(PL_regint_string) #define CALLREGFREE CALL_FPTR(PL_regfree) +/* Note that there are C compilers such as MetroWerks CodeWarrior + * which do not have an "inlined" way (like the gcc __attribute__) of + * marking unused variables (they need e.g. a #pragma, and using e.g. + * (void)x is considered dubious) and therefore cpp macros like + * PERL_UNUSED_DECL(x) cannot work for this purpose. */ + #if defined(__SYMBIAN32__) && defined(__GNUC__) # ifdef __cplusplus # define PERL_UNUSED_DECL(x) /*@unused@*/ x @@ -218,6 +224,7 @@ * but we cannot quite get rid of, such as "ax" in PPCODE+noargs xsubs */ #ifndef PERL_UNUSED_ARG +/* Which lint? Which <note.h>? Need more more robust cpp test. */ # ifdef lint # include <note.h> # define PERL_UNUSED_ARG(x) NOTE(ARGUNUSED(x)) |