Re: Bug in the objective-c++ compiler?
Re: Bug in the objective-c++ compiler?
- Subject: Re: Bug in the objective-c++ compiler?
- From: Scott Thompson <email@hidden>
- Date: Wed, 15 Jun 2005 16:55:12 -0500
On Jun 15, 2005, at 4:27 PM, Marc Parizeau wrote:
On 15-Jun-05, at 17:13, Scott Thompson wrote:
Not that you should have to write the code this way, but try this:
namespace Toto {
typedef enum tagProtocol { eOther } Protocol;
Protocol getProtocol(void) {return eOther;}
}
Ok, thanks for the suggestion, I may use it to bypass this bug
without changing the interface of my lib! So in essence the bug is
not about a predefined "Protocol" struct. It seems somehow related
to the use of the name "Protocol" as an enum name?
Thanks again!
I don't know that the word Protocol had anything to do with it. I
could reproduce the bug with the name Protocol1, Protoco1, and other
names. There's certainly something odd going on here... probably a
bug of some kind.
Scott
_______________________________________________
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