• 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
XCode 3.0 header/scope/namespace issues?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XCode 3.0 header/scope/namespace issues?


  • Subject: XCode 3.0 header/scope/namespace issues?
  • From: Jeff DuMonthier <email@hidden>
  • Date: Sun, 25 Nov 2007 11:58:22 -0500

I'm trying to build a project and codebase which built with no errors and no serious warnings under XCode 1.5/OS 10.3.9 and now under XCode 3.0 (gcc 4) is giving me hundreds of errors about constants, classes and class members 'undefined in this scope'. They are generally in template classes which require multiple header files and should all be in a custom namespace. As yet I haven't isolated a simple enough example of the problem to post a code sample, but I'm hoping this might ring a bell with someone who encountered a similar problem either in the transition to XCode 2.5 or 3.0 or in a gcc upgrade.

In some cases it appears as if entire header files are not being read in and there is no warning to that effect. In some cases it appears as if the header files were read but some portions of them were ignored or put in the wrong namespace or otherwise obscured.

My header files are read in with #include directives and use the standard #ifndef - #define - #endif method which was working before. Has anyone encountered something similar and found a hopefully simple explanation?
_______________________________________________
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: XCode 3.0 header/scope/namespace issues?
      • From: Jeff DuMonthier <email@hidden>
  • Prev by Date: Can the UI plugin for Instruments record and drive a command line application?
  • Next by Date: Recover files deleted by Xcode
  • Previous by thread: Can the UI plugin for Instruments record and drive a command line application?
  • Next by thread: Re: XCode 3.0 header/scope/namespace issues?
  • Index(es):
    • Date
    • Thread