summaryrefslogtreecommitdiff
path: root/Source/Include/swigwarn.h
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2009-11-12 19:47:04 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2009-11-12 19:47:04 +0000
commitaa61c716a81d95ead028b34350cf98da87d68d14 (patch)
treec0f797147feb61b8f2fdda10cb4054302b549a32 /Source/Include/swigwarn.h
parentebed6508e4cc3cee2a782fd6e15d6017c8cdcb25 (diff)
downloadswig-aa61c716a81d95ead028b34350cf98da87d68d14.tar.gz
Stop generating uncompileable code when using nested template classes in functions. Replace SWIGWARN_PARSE_NESTED_CLASS with SWIGWARN_PARSE_NAMED_NESTED_CLASS and SWIGWARN_PARSE_UNNAMED_NESTED_CLASS for named and unnamed nested classes respectively. Named nested class ignored warnings can now be suppressed by name using %warnfilter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Source/Include/swigwarn.h')
-rw-r--r--Source/Include/swigwarn.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Include/swigwarn.h b/Source/Include/swigwarn.h
index 6c54c55bd..b400fbdeb 100644
--- a/Source/Include/swigwarn.h
+++ b/Source/Include/swigwarn.h
@@ -72,7 +72,7 @@
#define WARN_PARSE_PRIVATE_INHERIT 309
#define WARN_PARSE_TEMPLATE_REPEAT 310
#define WARN_PARSE_TEMPLATE_PARTIAL 311
-#define WARN_PARSE_NESTED_CLASS 312
+#define WARN_PARSE_UNNAMED_NESTED_CLASS 312
#define WARN_PARSE_UNDEFINED_EXTERN 313
#define WARN_PARSE_KEYWORD 314
#define WARN_PARSE_USING_UNDEF 315
@@ -85,6 +85,7 @@
#define WARN_PARSE_REDUNDANT 322
#define WARN_PARSE_REC_INHERITANCE 323
#define WARN_PARSE_NESTED_TEMPLATE 324
+#define WARN_PARSE_NAMED_NESTED_CLASS 325
#define WARN_IGNORE_OPERATOR_NEW 350 /* new */
#define WARN_IGNORE_OPERATOR_DELETE 351 /* delete */