summaryrefslogtreecommitdiff
path: root/Source/Include/swigwarn.h
diff options
context:
space:
mode:
authorMarcelo Matus <mmatus@acms.arizona.edu>2004-01-15 08:16:53 +0000
committerMarcelo Matus <mmatus@acms.arizona.edu>2004-01-15 08:16:53 +0000
commit74d6f1eb436174cdf5f37823e61b43e082e91c77 (patch)
tree5e5dc6a389613b18cad1608b92b144239147c45f /Source/Include/swigwarn.h
parenteaa0062cd22477bb03e0c80800eb253b3767b59e (diff)
downloadswig-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.h2
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 */