Compile problem with OSF1 report
David Bannon
D.Bannon at latrobe.edu.au
Thu Nov 12 04:58:42 GMT 1998
Easily fixed syntax problem that only affects OSF1 users. Todays CVS
Compiling printing/printing.c
/usr/lib/cmplrs/cc/cfe: Error: printing/printing.c, line 230: Syntax Error
int length;
--^
around line 230 source looks like this :
pstrcpy(line2,line);
#ifdef OSF1
int length;
length = strlen(line2);
if (line2[length-3] == ':')
return(False);
#endif /* OSF1 */
And I assume it should look like this :
pstrcpy(line2,line);
#ifdef OSF1
{ int length;
length = strlen(line2);
if (line2[length-3] == ':')
return(False);
}
#endif /* OSF1 */
An we still have lots of these, they have not caused problems in the past.....
/usr/lib/cmplrs/cc/cfe: Warning: rpc_parse/parse_samr.c, line 3011: &
before arr
ay or function: ignored
memcpy(&(hsh->hash), hash, sizeof(hsh->hash));
-------^
David
------------------------------------------------------------
David Bannon D.Bannon at latrobe.edu.au
School of Biochemistry Phone 61 03 9479 2197
La Trobe University, Plenty Rd, Fax 61 03 9479 2467
Bundoora, Vic, Australia, 3083 http://bioserve.latrobe.edu.au
------------------------------------------------------------
..... Humpty Dumpty was pushed !
More information about the samba-ntdom
mailing list