| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
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!
Scott
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden
| References: | |
| >Bug in the objective-c++ compiler? (From: Marc Parizeau <email@hidden>) | |
| >Re: Bug in the objective-c++ compiler? (From: Scott Thompson <email@hidden>) | |
| >Re: Bug in the objective-c++ compiler? (From: Marc Parizeau <email@hidden>) | |
| >Re: Bug in the objective-c++ compiler? (From: Scott Thompson <email@hidden>) | |
| >Re: Bug in the objective-c++ compiler? (From: Marc Parizeau <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.