#define void int vs. #define void char

will summers will.summers at p6.f18.n114.z1.fidonet.org
Thu Jul 28 04:35:37 AEST 1988


 > Actually, I'd like ANSI to require being able to say
 > #define void int
 
I think it does so require.  The Jan '88 draft says that keywords are
reserved in translation phases 7 and 8.  Preprocessor directives and
macro expansions occur in translation phase 4.  So as I see it that
"keyword redefinition error" you got would indicate a broke compiler
under ANSI C.
 
    \/\/ill
 


--  
St. Joseph's Hospital/Medical Center - Usenet <=> FidoNet Gateway
Uucp: ...ncar!noao!asuvax!stjhmc!18.6!will.summers
Internet: will.summers at p6.f18.n114.z1.fidonet.org



More information about the Comp.lang.c mailing list