From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076337821295.tru64-unix-managers.marc@archive.invalid> From: Jay Shen Date: Mon, 05 Aug 1996 22:17:02 +0000 To: tru64-unix-managers Subject: SUMMARY: Building GNU C++ 2.7.2 on Digital UNIX 4.0 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076337821295 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