From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,32ce0d8cf7b33495 X-Google-Attributes: gidfee84,public From: Rob Hooft Subject: Re: gcc 2.7.2 and DU 4.0 Date: 1996/07/18 Message-ID: #1/1 X-Deja-AN: 168684856 distribution: world sender: hooft@nu.embl-heidelberg.de references: <4sj7m4$4uv@reznor.larc.nasa.gov> content-type: text/plain; charset=US-ASCII organization: EMBL Heidelberg mime-version: 1.0 (generated by tm-edit 7.67) newsgroups: comp.unix.osf.osf1 eckman@eos1.larc.nasa.gov (Richard Eckman) writes: > stage1/xgcc -Bstage1/ -c -DIN_GCC -g -O2 -I. -I.. -I. -I./.. -I./../config errfn.c > errfn.c: In function `cp_sprintf': > errfn.c:198: conflicting types for `sprintf' > include/stdio.h:182: previous declaration of `sprintf' > *** Exit 1 > Stop. > > Has anyone encountered this problem? Yes, and it has been reported to the "gcc development team". I have changed the offending file errfn.c, but I haven't tested the resulting C++ compiler yet, so I can't say whether it fixes the problem: The compilation will continue if you change the "typedef void errorfn" near line 40 by "typedef int errorfn". Rob Hooft. -- === Rob.Hooft@EMBL-Heidelberg.DE http://www.Sander.EMBL-Heidelberg.DE/rob/ == ==== In need of protein modeling? http://www.Sander.EMBL-Heidelberg.DE/whatif/ Validation of protein structures? http://biotech.EMBL-Heidelberg.DE:8400/ ==== ================ Long Live Linux! Free Software Rules The World! =============