A new one on me...

Greg Comeau comeau at utoday.UUCP
Thu Nov 30 12:49:18 AEST 1989


In article <1989Nov28.221224.6106 at world.std.com> bzs at 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?

The Sun compiler's message is indeed appropriate.
There is no meaning applied to '' and it had better be an error,
even as far back as K&R C.



More information about the Comp.lang.c mailing list