Making GCC less sensitive about duplicate typedefs?
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