home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!caen!zaphod.mps.ohio-state.edu!rpi!simsh
- From: simsh@marcus.its.rpi.edu (Chewbacca)
- Subject: Re: Another THINK C 5.0.3 bug?
- Message-ID: <k!n1mnj@rpi.edu>
- Nntp-Posting-Host: marcus.its.rpi.edu
- References: <#9m158g@rpi.edu>
- Date: Mon, 9 Nov 1992 17:51:24 GMT
- Lines: 26
-
- 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?
-
- Oh shoot! This was my mistake. Thanks to Ephraim Vishniac for pointing it out
- to me. I looked up in the manual about it. I didn't realize it meant you
- actually have to recompile the entire library from scratch to turn on 4-bit
- ints. I tried that and it worked. Sorry to waste bandwidth over this.
- --
- -------------------------------------------------------------------------------
- Hillel Sims e-mail: simsh@rpi.edu
- >:-) The Smiling Vulcan Rensselaer Polytechnic Institute
-