home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!munnari.oz.au!cs.mu.OZ.AU!montebello.ecom.unimelb.EDU.AU!carl
- From: carl@montebello.ecom.unimelb.EDU.AU (Carl Brewer)
- Subject: strange things with gcc
- Message-ID: <9232201.24197@mulga.cs.mu.OZ.AU>
- Sender: news@cs.mu.OZ.AU
- Organization: Computer Science, University of Melbourne, Australia
- Date: Mon, 16 Nov 1992 14:51:29 GMT
- Lines: 26
-
- I've ahd some funny problems with gcc on SunOS 4.1.2 of late, it doesn't
- seem to handle fflush(stdin) very well (ie not at all).
-
- either that, or I'm not using it correctly ?
-
- calling it as gcc -o filename part1.c part2.c etc
-
- do I need to send it a -ansi flag? I thought it defaulted to ansi
- anyway, as all my programmes are ansi, and I've not needed to do anything
- special before
-
- my code works fine compiled under acc (SunOS 4.1.2), and microsoft QuickC
- on a 386 PC. The relevant function is even straight from a book ...
-
- (ie a demonstatration programme from an ANSI C book ...)
-
- hmmmm
-
- oh well ....
-
-
- --
- Annal Natrach, Usthvah Spethed, carl@ecr.mu.oz.au (IRC: Bleve)
- Dochoel Dienve carl@munagin.ee.mu.oz.au
- carl@montebello.ecom.unimelb.EDU.AU
- Merlin, where are you? Call your dragon, to weave a mist...
-