#define void int vs. #define void char
Michael
michael at stb.UUCP
Fri Jul 15 09:00:27 AEST 1988
Actually, I'd like ANSI to require being able to say
#define void int
I have a compiler that knows void, has the preprocessor merged with the
rest of the compilation, does not allow me to define void as anything
(gives an error, "keyword redefined"). The problem? I have a program that
is partially converted to using voids, so I get type mismatch errors,
but if I try re-definning void I get a "Keyword redefinition error".
Very annoying.
Michael
: ---
: Michael Gersten uunet.uu.net!denwa!stb!michael
: sdcsvax!crash!gryphon!denwa!stb!michael
: What would have happened if we had lost World War 2. Well, the west coast
: would be owned by Japan, we would all be driving foreign cars, hmm...
More information about the Comp.lang.c
mailing list