🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #415

Newbie Question...

#415
From: Phillip Neiswanger
Date: Sat, 12 Sep 1992 06:27
21 lines
1261 bytes
Hi,

I don't think this is a bug so I'll post here.  I have installed gcc 2.2.2
on my sun system, but whenever my code includes stdlib.h gcc chokes on
'abort' and 'exit' functions.  Gcc reports "conflicting types for built-in
function 'abort'" for the function abort.  The same for the function exit.
After running 'install-fixincludes' the same bunch of errors come up.  I 
have configured the system with the command 'configure sun4'.

What I would like to know is how to get rid of this problem.  Do I actually
need to edit the system files in order to get gcc to quit griping?  Is there
some step I've missed?  For now I've hacked the c-decl.c and other files so
that abort and exit are int functions, but I'd like to return these files
to their original state.

Thanks for your time.

				CYA
				phil
				email:	phil@csulx.weber.edu
					phil@icarus.weber.edu
Technical Details
Message-ID: <gnusenet1992Sep12.062743.8095@fcom.cc.utah.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!news.ccutah.EDU!phil

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!news.ccutah.EDU!phil
From: phil@news.ccutah.EDU (Phillip Neiswanger)
Subject: Newbie Question...
Message-ID: <gnusenet1992Sep12.062743.8095@fcom.cc.utah.edu>
Sender: gnulists@ai.mit.edu
Organization: University of Utah Computer Center
Distribution: gnu
Date: Sat, 12 Sep 1992 06:27:43 GMT
Lines: 22