Subject: | Compilation failure on Solaris 2.8/ Sun cc Forte Developer 7 C 5.4 |
Compilation on Solaris 2.8, Sun cc Forte Developer 7 C 5.4 results in
a compilation error in quote.c:
"quote.c", line 545: void function cannot return value
"quote.c", line 547: warning: statement not reached
and the code looks like this:
void
dequote_sql_binary (string, retlen)
char *string;
int *retlen;
{
/* We are going to retun a dequote_bytea(), JIC */
warn("Use of SQL_BINARY invalid in dequote()");
return dequote_bytea(string, retlen);
*retlen = strlen(string);
}
note the return statment before dequote_bytea(). it looks like its a
typo/holdover from an earlier version.
Diab
Thanks,
Diab