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] | |
On 6 Feb, 2004, at 14.07, Ziemowit Laski wrote:
On 6 Feb, 2004, at 14.02, Alexander Malmberg wrote:
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?
Change the name unconditionally... please? :-)
Of course, this only applies to stuff in headers that may get pulled into
a C++/ObjC++ translation unit. I just noticed that GNU libobjc has local
objects named 'class' in its .c and .m files, which is fine.
Thanks, Andrew Pinski
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |