Re: Making GCC less sensitive about duplicate typedefs?
Re: Making GCC less sensitive about duplicate typedefs?
- Subject: Re: Making GCC less sensitive about duplicate typedefs?
- From: "Mark Wagner" <email@hidden>
- Date: Wed, 21 Jun 2006 10:20:36 -0700
On 6/20/06, Frederik Slijkerman (FabFilter) <email@hidden> wrote:
Wrap the header in a namespace and add a using statement?
namespace ThirdParty1 {
#include "ThirdParty1.h"
}
using namespace ThirdParty1;
You can now use ThirdParty1::Byte and ::Byte. If you use Byte, though, the
compiler will probably complain that it needs a namespace qualifier. Such is
life...
Last I checked, namespaces weren't part of the C standard. And even
if it were, I'm not in the mood for re-writing thousands of lines of
code.
--
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