This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Ziemowit Laski wrote:If you rename 'class' to 'super_class' and reference it as 'super_class', then this will work in all four of our C flavors, so I'm not sure I understand your question...
If we reference the field as "super_class", we won't be compatible with gcc <= 3.4. That isn't an option for GNUstep.
#if __GCC_VERSION__ >= 3.5 // or however you spell this my_objc_super->super_class = foo; #else my_objc_super->class = foo; #endif
-- Greg Parker gparker@apple.com Runtime Wrangler
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |