diff options
author | Marcelo Matus <mmatus@acms.arizona.edu> | 2004-01-15 08:16:53 +0000 |
---|---|---|
committer | Marcelo Matus <mmatus@acms.arizona.edu> | 2004-01-15 08:16:53 +0000 |
commit | 74d6f1eb436174cdf5f37823e61b43e082e91c77 (patch) | |
tree | 5e5dc6a389613b18cad1608b92b144239147c45f /Source/Include/swigwarn.h | |
parent | eaa0062cd22477bb03e0c80800eb253b3767b59e (diff) | |
download | swig-74d6f1eb436174cdf5f37823e61b43e082e91c77.tar.gz |
Added the warning code
WARN_PARSE_REDUNDANT 322
similar to the g++ -Wredundant-decls flag.
This recovers the warnings that now are not been reported by
the original code
WARN_PARSE_REDEFINED 302
Redundant example:
int foo(int);
int foo(int);
Redefined example:
int foo(int);
double foo(int);
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Source/Include/swigwarn.h')
-rw-r--r-- | Source/Include/swigwarn.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Include/swigwarn.h b/Source/Include/swigwarn.h index e0a0fde90..1f0e46a4d 100644 --- a/Source/Include/swigwarn.h +++ b/Source/Include/swigwarn.h @@ -70,6 +70,8 @@ #define WARN_PARSE_TEMPLATE_AMBIG 318 #define WARN_PARSE_NO_ACCESS 319 #define WARN_PARSE_EXPLICIT_TEMPLATE 320 +#define WARN_PARSE_BUILTIN_NAME 321 +#define WARN_PARSE_REDUNDANT 322 #define WARN_IGNORE_OPERATOR_NEW 350 /* new */ #define WARN_IGNORE_OPERATOR_DELETE 351 /* delete */ |