Absolute size of 'short'
Karl Heuer
karl at haddock.ima.isc.com
Thu Sep 8 03:39:03 AEST 1988
chip at ateng.uucp (Chip Salzenberg) writes:
>According to karl at haddock.ima.isc.com (Karl Heuer):
>>(One admitted flaw: the bitwidth must be specified directly in this scheme;
>>you can't compute it at compile-time.)
>
>Perhaps you can [using token pasting]
I thought of that, but it's not particularly useful, since it won't handle
`#define COLORBITS (4+5)'. It could be done with m4, but cpp has no option to
preevaluate the RHS.
Karl W. Z. Heuer (ima!haddock!karl or karl at haddock.isc.com), The Walking Lint
More information about the Comp.lang.c
mailing list