Fixes to compile on some buggy Redhat gcc 2.96 versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8e6fea719f
commit
06c6ab33f8
3 changed files with 6 additions and 6 deletions
|
|
@ -1938,7 +1938,7 @@ class JAVA : public Language {
|
|||
}
|
||||
|
||||
generateThrowsClause(n, function_code);
|
||||
Printf(function_code, " %s\n\n", tm ? tm : empty_string);
|
||||
Printf(function_code, " %s\n\n", tm ? (const String *)tm : empty_string);
|
||||
Printv(proxy_class_code, function_code, NIL);
|
||||
|
||||
Delete(function_code);
|
||||
|
|
@ -2300,7 +2300,7 @@ class JAVA : public Language {
|
|||
}
|
||||
|
||||
generateThrowsClause(n, function_code);
|
||||
Printf(function_code, " %s\n\n", tm ? tm : empty_string);
|
||||
Printf(function_code, " %s\n\n", tm ? (const String *)tm : empty_string);
|
||||
Printv(module_class_code, function_code, NIL);
|
||||
|
||||
Delete(function_code);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue