diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2005-10-19 19:19:23 +0300 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-10-19 13:09:09 +0000 |
commit | 1215b447b68a44982cbab6532e02152be37089dd (patch) | |
tree | 2665654b97ea7cb12d14984f093c7ef0d6afcb52 /symbian/symbianish.h | |
parent | 823a54a3e80592bb1d7f6b5fc487f84a3411e104 (diff) | |
download | perl-1215b447b68a44982cbab6532e02152be37089dd.tar.gz |
blead 25801: Symbian batch of today
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A663@esebe105.NOE.Nokia.com>
p4raw-id: //depot/perl@25804
Diffstat (limited to 'symbian/symbianish.h')
-rw-r--r-- | symbian/symbianish.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/symbian/symbianish.h b/symbian/symbianish.h index 1aebaf1007..4f06e0a217 100644 --- a/symbian/symbianish.h +++ b/symbian/symbianish.h @@ -207,3 +207,13 @@ pid_t wait(int *status); #endif /* _MSC_VER */ +#ifdef __MWERKS__ +/* No good way of using the CodeWarrior #pragma unused(varname) with Perl + * source code (e.g. PERL_UNUSED_DECL doesn't work with the pragma syntax). + * Therefore we brutally turn off these particular warnings since there + * is a lot of this in Perl code (pTHX, for example). TOther compilers + * will have to detect these naughty bits. */ +#pragma warn_unusedarg off +#pragma warn_unusedvar off +#pragma warn_emptydecl off +#endif |