Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!novavax!hcx1!hardy!leoh From: leoh@hardy.harris.com (Leo Hinds) Newsgroups: comp.lang.c Subject: Re: A new one on me... Message-ID: <2153@hcx1.UUCP> Date: 30 Nov 89 14:18:58 GMT References: <1989Nov28.221224.6106@world.std.com> Sender: news@hcx1.UUCP Reply-To: leoh@hardy.hdw.csd.harris.com (Leo Hinds) Distribution: usa Organization: Harris Computer Systems, Fort Lauderdale, FL Lines: 20 In article <1989Nov28.221224.6106@world.std.com> bzs@world.std.com (Barry Shein) writes: >In a pd program I ran into a line like this: > if(c == '') >Sun 4.0.3 cc gives me a non-fatal error (empty character constant.) >Is there any meaning assigned to this? I assume it meant something in >Turbo/C (under which the program was developed.) Barry: I ran into the same thing ... trying to help out a friend of mine who pulled it off of the net. On our system ... it would provide the same message ... but not produce an ".o". Trying the same piece of code on Turbo showed that turbo interpreted that as being '\0' ... so that's how the program was changed ... Leo Hinds