tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Jay Shen <jshen () kidsat ! ucsd ! edu>
To: tru64-unix-managers
Subject: SUMMARY: Building GNU C++ 2.7.2 on Digital UNIX 4.0
Date: Mon, 05 Aug 1996 22:17:02 +0000	[thread overview]
Message-ID: <96076337821295.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1996-08-05 22:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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