• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bug in the objective-c++ compiler?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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>)

  • Prev by Date: xCode 2 and static links ?
  • Next by Date: Fwd: File Fork of Binary Sources : was Crash in pthread_mutex_lock
  • Previous by thread: Re: Bug in the objective-c++ compiler?
  • Next by thread: xCode 2 and static links ?
  • Index(es):
    • Date
    • Thread