Re: Xcode 2 Question
Re: Xcode 2 Question
- Subject: Re: Xcode 2 Question
- From: Shawn Erickson <email@hidden>
- Date: Wed, 4 May 2005 16:03:13 -0700
On May 4, 2005, at 3:36 PM, Markian Hlynka wrote:
In Xcode 1.5, if you had structs with member functions, they
completely fubared the function menu in xcode. For example:
typedef struct __PartialMove
{
//PartialMove is a coordinate!
short r,c; //source and destintion row and column.
//shorts are 16 bits (2 bytes), at least that's what they are
right now!
bool operator==(const struct __PartialMove &b)
{
return (r == b.r) && (c == b.c);
}
bool operator!=(const struct __PartialMove &b)
{
return !( (r == b.r) && (c == b.c) );
//alternatively, (r != b.r) || (c != b.c);
}
} PartialMove;
Ugh ;-)
If you really want to insure a certain sizing consider using int16_t
(#include <stdint.h>) instead of short (is a signed short really what
you want?).
The only things that shows up in the function menu in Xcode 1.5 are:
typedef
operator!=
operator==
Worse, nothing following such a struct shows up in the function
menu either. So, even if I only do it once, my function menu is
henceforth useless.
Under Xcode 2.0 I see only "typedef PartialMove" listed in the popup
and functions before and after list just fine.
On a related note... is there anyway to search the reported bug
database? I mean, to see bugs other than the ones _I_ originated?
No. Apple considers submitted reports private between the submitter
and Apple.
I have seen some talk about Apple considering to allow the submitter
to allow it be public (at least what the submitter provides to be
public) with a selection at the time of submit . However who knows if
that was any more then speculation, etc. that lawyer may shoot down.
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden