Hello, managers:
We have just upgraded our DEC2000/300 to DU4.0B, and are trying
to compile gcc-2.7.2.1.f.1, g++, g77 and libg++.
At the 'make bootstrap' stage of the compilation, the following error
message appears:
errfn.c: In function `cp_sprintf':
errfn.c:198: conflicting types for `sprintf'
include/stdio.h:182: previous declaration of `sprintf'
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
the type for sprintf is errorfn(type void ()). In the standard
[DEC] include files, the type for sprintf is type int. the compilation
seems to choke there. By changing errorfn to type int, then it
compiles fine but chokes in the libg++ installation.
Is there anyone who has experienced similar problems? Any workaround
for this will be appreciated.
Sincerely,
Deming Zhuang
Received on Wed Jan 15 1997 - 00:15:50 NZDT