ruby warning suppression

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-10-29 21:13:29 +00:00
commit 9e5219aa30
3 changed files with 15 additions and 7 deletions

View file

@ -1,5 +1,11 @@
%module preproc
%warnfilter(801) one; /* Ruby, wrong constant name */
%warnfilter(801) three; /* Ruby, wrong constant name */
%warnfilter(801) __GMP_HAVE_CONST; /* Ruby, wrong constant name */
%warnfilter(801) __GMP_HAVE_PROTOTYPES; /* Ruby, wrong constant name */
%warnfilter(801) __GMP_HAVE_TOKEN_PASTE; /* Ruby, wrong constant name */
/* check __cplusplus case */
%header
%{
@ -254,7 +260,7 @@ inline const char* mangle ## #@__VA_ARGS__ () {
#endif
/* empyt TWO() macro is broken */
/* empty TWO() macro is broken */
#define ONE 1
#define TWO() 2
#define THREE(FOO) 3