• 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: Turning off 'enumeral mismatch' warnings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Turning off 'enumeral mismatch' warnings?


  • Subject: Re: Turning off 'enumeral mismatch' warnings?
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 11 May 2006 18:15:20 -0700


On May 11, 2006, at 5:47 PM, James W. Walker wrote:

Matt Gough <email@hidden> wrote:


However, anytime I do the 'err = someParam ? noErr : paramErr' portion I get one of the following warnings:


warning: enumeral mismatch in conditional _expression_: '<anonymous enum>' vs '<anonymous enum>'


What magic options do I need change to stop these?


I too would like to know the answer to this.


This is known asĀ <rdar://problem/2869460> anonymous enum clashes in conditionals and there is currently no workaround.

Chris
 _______________________________________________
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

  • Follow-Ups:
    • Re: Turning off 'enumeral mismatch' warnings?
      • From: Steve Sisak <email@hidden>
References: 
 >Turning off 'enumeral mismatch' warnings? (From: Matt Gough <email@hidden>)
 >Re: Turning off 'enumeral mismatch' warnings? (From: "James W. Walker" <email@hidden>)

  • Prev by Date: Re: Turning off 'enumeral mismatch' warnings?
  • Next by Date: Re: Turning off 'enumeral mismatch' warnings?
  • Previous by thread: Re: Turning off 'enumeral mismatch' warnings?
  • Next by thread: Re: Turning off 'enumeral mismatch' warnings?
  • Index(es):
    • Date
    • Thread