Path: utzoo!telly!ddsw1!mcdchg!rutgers!tut.cis.ohio-state.edu!NSS.CS.UCL.AC.UK!ip%sun.central-services.umist.ac.uk From: ip%sun.central-services.umist.ac.uk@NSS.CS.UCL.AC.UK (Ian Pallfreeman) Newsgroups: gnu.gcc.bug Subject: GCC 1.28 prototyping bug Message-ID: <25747.8810111420@sun> Date: 11 Oct 88 14:20:38 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 46 Hi, First bug report from me; hope I have the procedure right (not to mention the address :-)) We're running GCC 1.28 on a Sun 3/280; I'm trying to port an application which compiles and runs successfully with Zortech C and having problems with a very simple piece of code: void somefunc(char); void somefunc(c) char c; { } which gives me: In function somefunc: test.c:6: argument `c' doesn't match function prototype Alter the definition to: void somefunc(char c) { } and it compiles OK. Obviously I can live with something that minor, but you aught to know, I guess. Cheers, Ian {Systems/Net Support & General Dogsbody} |===================================================================| | janet: ian@uk.ac.umist | Science and Engineering Research Council | | inet: ian@umist.ac.uk | Engineering Computing Facility | | uucp: ?!ukc!umist!ian | University of Manchester | | tel: +44-61-228-2397 | Institute of Science and Technology | |===================================================================|