Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!iWarp.intel.com!ichips!inews!bishop!bhoughto From: bhoughto@bishop.intel.com (Blair P. Houghton) Newsgroups: comp.lang.c Subject: Re: Bug fix for Turbo C ? Message-ID: <4879@inews.intel.com> Date: 27 Jun 91 01:30:40 GMT Article-I.D.: inews.4879 References: <1991Jun26.155139.86965@vaxc.cc.monash.edu.au> Sender: news@inews.intel.com Organization: Intel Corp, Chandler, AZ Lines: 14 In article <1991Jun26.155139.86965@vaxc.cc.monash.edu.au> apm233m@vaxc.cc.monash.edu.au writes: >My question is: is there a patch for Turbo C++ v1.0 to fix the following >code generation bug? If it were ANSI C, I'd point to the part where it says bitwise operations are undefined when performed on signed operands... However, it's Turbo C, with which I have nil experience (up until now, that is...:-)). You might try casting them as `unsigned long', but that's iffy, too. --Blair "Where no man has gone before..."