SUMMARY: Building GNU C++ 2.7.2 on Digital UNIX 4.0

From: Jay Shen <jshen_at_kidsat.ucsd.edu>
Date: Mon, 5 Aug 1996 15:17:02 -0700 (PDT)

Thanks to:
sysadmin_at_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
Received on Tue Aug 06 1996 - 00:40:07 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT