• 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: "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


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: "Mark Wagner" <email@hidden>)
 >Re: Making GCC less sensitive about duplicate typedefs? (From: Steve Christensen <email@hidden>)
 >Re: Making GCC less sensitive about duplicate typedefs? (From: "Mark Wagner" <email@hidden>)
 >Re: Making GCC less sensitive about duplicate typedefs? (From: "Frederik Slijkerman (FabFilter)" <email@hidden>)

  • Prev by Date: Re: Removing items from a project using AppleScript
  • Next by Date: Question about target settings
  • Previous by thread: Re: thread local storage
  • Next by thread: Re: Making GCC less sensitive about duplicate typedefs?
  • Index(es):
    • Date
    • Thread