Fixed variadic template argument warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
24402abf7d
commit
1993f92624
1 changed files with 2 additions and 2 deletions
|
|
@ -2744,8 +2744,8 @@ template_directive: SWIGTEMPLATE LPAREN idstringopt RPAREN idcolonnt LESSTHAN va
|
|||
if (!p && tp) {
|
||||
p = tp;
|
||||
def_supplied = 1;
|
||||
} else if (!tp) { /* Variadic tempalte - tp < p */
|
||||
Swig_warning(0,cparse_file, cparse_line,"Variadic templates not fully supported by Swig.\n");
|
||||
} else if (p && !tp) { /* Variadic template - tp < p */
|
||||
Swig_warning(0,cparse_file, cparse_line,"Only the first variadic argument is currently supported by Swig.\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue