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@5634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
587ecadac7
commit
aa8b13473e
6 changed files with 63 additions and 25 deletions
|
|
@ -281,7 +281,7 @@ example.i(4): Syntax error in input.
|
|||
|
||||
<ul>
|
||||
<li>301. <tt>class</tt> keyword used, but not in C++ mode.
|
||||
<li>302. Identifier '<em>name</em>' redeclared (ignored).
|
||||
<li>302. Identifier '<em>name</em>' redefined (ignored).
|
||||
<li>303. <tt>%extend</tt> defined for an undeclared class '<em>name</em>'.
|
||||
<li>304. Unsupported constant value (ignored).
|
||||
<li>305. Bad constant value (ignored).
|
||||
|
|
@ -301,6 +301,7 @@ example.i(4): Syntax error in input.
|
|||
<li>319. No access specifier given for base class <em>name</em> (ignored).
|
||||
<li>320. Explicit template instantiation ignored.
|
||||
<li>321. <em>identifier</em> conflicts with a built-in name.
|
||||
<li>322. Redundant redeclaration of '<em>name</em>'.
|
||||
<li>350. operator new ignored.
|
||||
<li>351. operator delete ignored.
|
||||
<li>352. operator+ ignored.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue