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

Making GCC less sensitive about duplicate typedefs?


  • Subject: Making GCC less sensitive about duplicate typedefs?
  • From: "Mark Wagner" <email@hidden>
  • Date: Mon, 19 Jun 2006 16:17:15 -0700

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?

typedef char dummy;
typedef char dummy;

int main()
{
	return 0;
}

Thanks,
Mark Wagner
_______________________________________________
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: Making GCC less sensitive about duplicate typedefs?
      • From: Douglas Norton <email@hidden>
    • Re: Making GCC less sensitive about duplicate typedefs?
      • From: "Justin C. Walker" <email@hidden>
  • Prev by Date: Project Assistant renames home folder without authorisation Re: define GCC_PREFIX_FILE setting at project level?
  • Next by Date: Universal Binary Crash Logs With Bogus Line Numbers
  • Previous by thread: Show Assembly Code
  • Next by thread: Re: Making GCC less sensitive about duplicate typedefs?
  • Index(es):
    • Date
    • Thread