Compile error in GCC but not other compilers
Compile error in GCC but not other compilers
- Subject: Compile error in GCC but not other compilers
- From: "James W. Walker" <email@hidden>
- Date: Mon, 15 May 2006 12:08:22 -0700
One of my problems in porting from CodeWarrior to Xcode boils down to
the code below:
namespace
{
class xxx
{
xxx();
};
}
class yyy
{
friend class xxx;
};
xxx::xxx()
{
}
Xcode says:
error: 'xxx' has not been declared
error: ISO C++ forbids declaration of 'xxx' with no type
CodeWarrior has no problem with this code, nor does the Comeau online
compiler test page. So, is this a bug in GCC?
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
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