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
|
|
@ -1605,7 +1605,7 @@ class CSHARP : 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);
|
||||
|
||||
if(proxy_flag && wrapping_member_flag && !enum_constant_flag) {
|
||||
// Properties
|
||||
|
|
@ -1998,7 +1998,7 @@ class CSHARP : 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);
|
||||
|
||||
if (proxy_flag && global_variable_flag) {
|
||||
// Properties
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -2994,7 +2994,7 @@ MODULA3 ():
|
|||
}
|
||||
|
||||
generateThrowsClause (throws_hash, function_code);
|
||||
Printf (function_code, " %s\n\n", tm ? tm : empty_string);
|
||||
Printf (function_code, " %s\n\n", tm ? (const String *)tm : empty_string);
|
||||
|
||||
if (proxy_flag && wrapping_member_flag && !enum_constant_flag) {
|
||||
// Properties
|
||||
|
|
@ -3727,7 +3727,7 @@ MODULA3 ():
|
|||
}
|
||||
|
||||
Printf (function_code, " =\n%s%sBEGIN\n%s%sEND %s;\n\n",
|
||||
hasContent (local_variables) ? "VAR\n" : empty_string,
|
||||
hasContent (local_variables) ? "VAR\n" : "",
|
||||
local_variables, exc_handler, outarg, func_name);
|
||||
|
||||
Delete (exc_handler);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue