fix builtin names warnings, so they ony apply to functions, as reported by James Bigler and the 'max' name issue
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0602f5c4cd
commit
dd1e7cd0b4
3 changed files with 10 additions and 1 deletions
|
|
@ -113,7 +113,7 @@
|
|||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
#define %keywordwarn(msg...) %namewarn(%warningmsg(SWIGWARN_PARSE_KEYWORD, msg))
|
||||
#define %builtinwarn(msg...) %namewarn(%warningmsg(SWIGWARN_PARSE_BUILTIN_NAME, msg))
|
||||
#define %builtinwarn(msg...) %namewarn(%warningmsg(SWIGWARN_PARSE_BUILTIN_NAME, msg), %$isfunction)
|
||||
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue