DEFINITE bug in Turbo C 2.0

Dik T. Winter dik at cwi.nl
Fri Mar 23 09:32:35 AEST 1990


In article <802 at zeusa.UUCP> hendrik at zeusa.UUCP (Hendrik Vermooten) writes:
 > Here is a definite bug in C (discovered by Renier v. Wyk)
 > 
 > (Please, no speeches about not using ++a etc in a macro :-) I've never
 >  done it, and never plan to do it. Interesting bug, nonetheless)
Right so, because it may lead to undefined behaviour.

But pray tell, what is the bug?

That undefined expressions give different results in different places?
That undefined expressions give different results with different compilers?

That is not a bug, that is a feature.
-- 
dik t. winter, cwi, amsterdam, nederland
dik at cwi.nl



More information about the Comp.lang.c mailing list