Work around apparent clang bug.
Clang seems to be confused by "tm" being the name both of a local variable and a struct tm from the standard <time.h> header, included indirectly in the doxygen branch from java.cxx via "swig.h" and <stdlin.h>. Just removing the unnecessary cast helps to clear the confusion.
This commit is contained in:
parent
cd64ad2a71
commit
4f032332c9
1 changed files with 2 additions and 2 deletions
|
|
@ -2556,7 +2556,7 @@ public:
|
|||
}
|
||||
|
||||
generateThrowsClause(n, function_code);
|
||||
Printf(function_code, " %s\n\n", tm ? (const String *) tm : empty_string);
|
||||
Printf(function_code, " %s\n\n", tm ? tm : empty_string);
|
||||
Printv(proxy_class_code, function_code, NIL);
|
||||
|
||||
Delete(pre_code);
|
||||
|
|
@ -3032,7 +3032,7 @@ public:
|
|||
}
|
||||
|
||||
generateThrowsClause(n, function_code);
|
||||
Printf(function_code, " %s\n\n", tm ? (const String *) tm : empty_string);
|
||||
Printf(function_code, " %s\n\n", tm ? tm : empty_string);
|
||||
Printv(module_class_code, function_code, NIL);
|
||||
|
||||
Delete(pre_code);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue