home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / mail / elm / 4012 < prev    next >
Encoding:
Text File  |  1993-01-09  |  1.2 KB  |  31 lines

  1. Newsgroups: comp.mail.elm
  2. Path: sparky!uunet!news.univie.ac.at!bim.itc.univie.ac.at!tom
  3. From: tom@bim.itc.univie.ac.at (Tom Kovar)
  4. Subject: Re: Failed compile of 2.3PL11 on AIX 3.1.6
  5. Message-ID: <1993Jan9.140008.3910@newssrv.edvz.univie.ac.at>
  6. Sender: news@newssrv.edvz.univie.ac.at (News System - Vienna University)
  7. Nntp-Posting-Host: bim.itc.univie.ac.at
  8. Organization: Inst.of Theor.Chemistry,Univ.of Vienna,Austria
  9. X-Newsreader: Tin 1.1 PL3
  10. References: <1993Jan8.161530.24413@panix.com>
  11. Date: Sat, 9 Jan 1993 14:00:08 GMT
  12. Lines: 17
  13.  
  14. dans@panix.com (Dan Simoes) writes:
  15. : The local c guru said the problem was with the function prototyping at
  16. : the beginning of the program (addr_util.c), so I commented out the
  17. : second function declaration line in there:
  18. : >char *strtok(), *strcpy(), *strcat(), *strncpy(), *index(), *rindex(); 
  19. : and it compiled.  So, do I need to do this for *every* .c program?
  20. : I tried using c89 and xlc instead, but they all bomb out.
  21.  
  22.  
  23.   No, you do not have to do it all. Either start the compiler with
  24. -U__STR__, or use the bsdcc configuration of the c-compiler (has been discussed
  25. in this group and in comp.unix.aix many times)
  26.  
  27.                                 Tom
  28.