add support for named warning codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6f0ac941e8
commit
89e7497ac6
124 changed files with 671 additions and 281 deletions
|
|
@ -1,13 +1,13 @@
|
|||
/* File : example.i */
|
||||
%module "template_explicit"
|
||||
|
||||
%warnfilter(801) vector<int>; /* Ruby, wrong class name */
|
||||
%warnfilter(801) vector<double>; /* Ruby, wrong class name */
|
||||
%warnfilter(801) vector<int (*)[10]>; /* Ruby, wrong class name */
|
||||
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) vector<int>; /* Ruby, wrong class name */
|
||||
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) vector<double>; /* Ruby, wrong class name */
|
||||
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) vector<int (*)[10]>; /* Ruby, wrong class name */
|
||||
|
||||
// #pragma is used for warnings that are not associated to
|
||||
// specific nodes.
|
||||
#pragma SWIG nowarn=-320
|
||||
#pragma SWIG nowarn=-SWIGWARN_PARSE_EXPLICIT_TEMPLATE
|
||||
|
||||
|
||||
/* Let's just grab the original header file here */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue