home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / c / 16592 < prev    next >
Encoding:
Text File  |  1992-11-16  |  1.2 KB  |  37 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!munnari.oz.au!cs.mu.OZ.AU!montebello.ecom.unimelb.EDU.AU!carl
  3. From: carl@montebello.ecom.unimelb.EDU.AU (Carl Brewer)
  4. Subject: strange things with gcc
  5. Message-ID: <9232201.24197@mulga.cs.mu.OZ.AU>
  6. Sender: news@cs.mu.OZ.AU
  7. Organization: Computer Science, University of Melbourne, Australia
  8. Date: Mon, 16 Nov 1992 14:51:29 GMT
  9. Lines: 26
  10.  
  11. I've ahd some funny problems with gcc on SunOS 4.1.2 of late, it doesn't
  12. seem to handle fflush(stdin) very well (ie not at all).
  13.  
  14. either that, or I'm not using it correctly ?
  15.  
  16. calling it as gcc -o filename part1.c part2.c etc
  17.  
  18. do I need to send it a -ansi flag?  I thought it defaulted to ansi
  19. anyway, as all my programmes are ansi, and I've not needed to do anything 
  20. special before
  21.  
  22. my code works fine compiled under acc (SunOS 4.1.2), and microsoft QuickC
  23. on a 386 PC.  The relevant function is even straight from a book ...
  24.  
  25. (ie a demonstatration programme from an ANSI C book ...)
  26.  
  27. hmmmm
  28.  
  29. oh well ....
  30.  
  31.  
  32. -- 
  33.  Annal  Natrach, Usthvah Spethed,         carl@ecr.mu.oz.au (IRC: Bleve)
  34.  Dochoel Dienve                           carl@munagin.ee.mu.oz.au
  35.                       carl@montebello.ecom.unimelb.EDU.AU
  36.  Merlin, where are you?  Call your dragon, to weave a mist...
  37.