Various warning fixes for .NET 2003 cl /W4 to work barring one warning and for gcc -ansi -Wall -pedantic to be warning free:
const fixes and function prototype declarations matching the definition etc git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0f991243d3
commit
8377edf02a
24 changed files with 77 additions and 63 deletions
|
|
@ -3239,6 +3239,7 @@ class JAVA : public Language {
|
|||
* classDirectorDisown()
|
||||
* ------------------------------------------------------------------*/
|
||||
virtual int classDirectorDisown(Node *n) {
|
||||
(void)n;
|
||||
return SWIG_OK;
|
||||
}
|
||||
|
||||
|
|
@ -3272,7 +3273,7 @@ class JAVA : public Language {
|
|||
* director-based class.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
virtual int JAVA::abstractClassTest(Node *n) {
|
||||
virtual int abstractClassTest(Node *n) {
|
||||
if (!Cmp(Getattr(n, "feature:director"), "1"))
|
||||
return 0;
|
||||
return Language::abstractClassTest(n);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue