home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!concert!rutgers!sun-barr!cs.utexas.edu!convex!nrc.com!kosman!kevin
- From: kevin@kosman.uucp (Kevin O'Gorman)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Another THINK C 5.0.3 bug?
- Message-ID: <1992Nov10.230616.18453@kosman.uucp>
- Date: 10 Nov 92 23:06:16 GMT
- References: <#9m158g@rpi.edu>
- Organization: Vital Software Services, Oxnard, CA
- Lines: 24
-
- simsh@crockett1a.its.rpi.edu (Chewbacca) writes:
-
- >Hello everyone. Here is my test program:
-
- > #include <stdio.h>
-
- > void main()
- > {
- > int h;
- > h=5;
- > printf("%d\n",h);
- > }
-
- >Simple enough. Well, with 4-bit ints turned on, this program prints out 0.
- >With 4-bit ints off, it prints 5 like it should. The global optimizer is off.
- >Is this another bug? Or has it already been seen and I just didn't read about
- >it?
-
- The manuals point out that if you're going to turn on 4-byte (not bits, I
- hope!) ints, you need to rebuild the ANSI library. That's where printf lives.
- --
- Kevin O'Gorman ( kevin@kosman.UUCP, kevin%kosman.uucp@nrc.com )
- voice: 805-984-8042 Vital Computer Systems, 5115 Beachcomber, Oxnard, CA 93035
- Non-Disclaimer: my boss is me, and he stands behind everything I say.
-