tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Building GNU C++ 2.7.2 on Digital UNIX 4.0
@ 1996-08-05 22:17 Jay Shen
  0 siblings, 0 replies; only message in thread
From: Jay Shen @ 1996-08-05 22:17 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks to:
sysadmin@homer.bus.miami.edu

My original post:
After we upgraded to Digital UNIX 4.0, I decided to rebuild GNU C++.
However, now I am running into an error:
  errfn.c: In function `cp_sprintf':
  errfn.c:198: conflicting types for `sprintf'
  include/stdio.h:182: previous declaration of `sprintf'
This occured when it was trying to build stage3 cc. It's strange why it
doesn't complain for stage1 or stage2 cc.

Solution:
"I had the same thing...Basically, in stages 1 and 2 you usually build
only
the C language module. In the last stage you build C++ and the rest...
To make this compile I had to comment out the 'sprinf' declaration
in include/stdio.h (This is in ~/gcc-2.7.2/include)"

Jay

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-08-05 22:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-05 22:17 SUMMARY: Building GNU C++ 2.7.2 on Digital UNIX 4.0 Jay Shen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox