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:typedef struct objc_super {[snip]
id self; /* Id of the object sending
the message. */
Class class; /* Object's super class.
*/
} Super, *Super_t;So, do you think it would be OK to rename 'class' above to, say, 'super_class'?
This field is used in GNUstep. What do you propose that code should do to work with both versions? Change the name only if __cplusplus is defined?
struct A {
int class;
};struct A {
int super_class;
};#if (__GNUC_ == 3 && __GNUC_MINOR__ < 4) #define super_class class #
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |