home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / gcc / help / 2115 < prev    next >
Encoding:
Text File  |  1992-09-12  |  1.2 KB  |  34 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!cis.ohio-state.edu!news.ccutah.EDU!phil
  3. From: phil@news.ccutah.EDU (Phillip Neiswanger)
  4. Subject: Newbie Question...
  5. Message-ID: <gnusenet1992Sep12.062743.8095@fcom.cc.utah.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: University of Utah Computer Center
  8. Distribution: gnu
  9. Date: Sat, 12 Sep 1992 06:27:43 GMT
  10. Lines: 22
  11.  
  12. Hi,
  13.  
  14. I don't think this is a bug so I'll post here.  I have installed gcc 2.2.2
  15. on my sun system, but whenever my code includes stdlib.h gcc chokes on
  16. 'abort' and 'exit' functions.  Gcc reports "conflicting types for built-in
  17. function 'abort'" for the function abort.  The same for the function exit.
  18. After running 'install-fixincludes' the same bunch of errors come up.  I 
  19. have configured the system with the command 'configure sun4'.
  20.  
  21. What I would like to know is how to get rid of this problem.  Do I actually
  22. need to edit the system files in order to get gcc to quit griping?  Is there
  23. some step I've missed?  For now I've hacked the c-decl.c and other files so
  24. that abort and exit are int functions, but I'd like to return these files
  25. to their original state.
  26.  
  27. Thanks for your time.
  28.  
  29.                 CYA
  30.                 phil
  31.                 email:    phil@csulx.weber.edu
  32.                     phil@icarus.weber.edu
  33.  
  34.