C Preprocessor
Doug Gwyn
gwyn at brl-smoke.ARPA
Sun Jun 15 15:33:43 AEST 1986
In article <839 at brahma.cs.hw.AC.UK> chris at cs.hw.AC.UK (Chris Miller) writes:
- #if ('j' - 'i' == 1)
-...
-The evaluation of the constant expression is clearly intended to be carried
-out in terms of the "execution environment" rather than the "translation
-environment".
Well, that's a bug on the part of the programmer.
The C translator is permitted to evaluate preprocessor
expressions using the native facilities, even when
cross-compiling.
More information about the Comp.lang.c
mailing list