• 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: Making GCC less sensitive about duplicate typedefs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making GCC less sensitive about duplicate typedefs?


  • Subject: Re: Making GCC less sensitive about duplicate typedefs?
  • From: "Justin C. Walker" <email@hidden>
  • Date: Mon, 19 Jun 2006 23:02:44 -0700


On Jun 19, 2006, at 22:54 , Steve Checkoway wrote:


On Jun 19, 2006, at 6:57 PM, Justin C. Walker wrote:


On Jun 19, 2006, at 16:17 , Mark Wagner wrote:

The following C code compiles just fine in CodeWarrior, but gcc gives
an error of "error: conflicting types for 'dummy'". How do I get this
sort of thing to compile with gcc?

What version of the compiler are you using? On 10.4.6, with Xcode 2.3 installed, both gcc 3.3 and gcc 4.0 do not give this error. It complains that you are redefining a variable, which I think is the right response.

It doesn't say you're redefining a variable and I'd be shocked if it did. It claims that you're redefining the typedef:

Yup. That was a typo :-}.

Regards,

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
My wife 'n kids 'n dogs are gone,
I can't get Jesus on the phone,
But Ol' Milwaukee's Best is my best friend.
-----------


_______________________________________________ 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: 
 >Making GCC less sensitive about duplicate typedefs? (From: "Mark Wagner" <email@hidden>)
 >Re: Making GCC less sensitive about duplicate typedefs? (From: "Justin C. Walker" <email@hidden>)
 >Re: Making GCC less sensitive about duplicate typedefs? (From: Steve Checkoway <email@hidden>)

  • Prev by Date: Re: Making GCC less sensitive about duplicate typedefs?
  • Next by Date: Re: Automated or simpler cross/platform project format management
  • Previous by thread: Re: Making GCC less sensitive about duplicate typedefs?
  • Next by thread: Re: Making GCC less sensitive about duplicate typedefs?
  • Index(es):
    • Date
    • Thread