A new one on me...

Barry Shein bzs at world.std.com
Wed Nov 29 09:12:24 AEST 1989


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.)

It surprised me enough that I thought the language lawyers would be at
least amused. Darn, we could have used that for our favorite feature!
-- 
        -Barry Shein

Software Tool & Die, Purveyors to the Trade         | bzs at world.std.com
1330 Beacon St, Brookline, MA 02146, (617) 739-0202 | {xylogics,uunet}world!bzs



More information about the Comp.lang.c mailing list