• 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
Partial includes syntax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Partial includes syntax


  • Subject: Partial includes syntax
  • From: Philippe Casgrain <email@hidden>
  • Date: Thu, 1 Sep 2005 16:06:48 -0400

I am porting our project from CW to Xcode, and one problem I am experiencing is this. On disk, we have the following structure:

    Project/
        Document/
            Document.h

In our source code, if we type:

    #include "Document/DocEvent.h"

that does not compile (error: Document/DocEvent.h: No such file or directory).

But if we replace that line with:

    #include "DocEvent.h"

Then everything is fine. Xcode can find the file, I can Cmd-D on the file name to open it. But it won't let us #include with a prefix.

Is there a flag we can set? This code is cross-platform, so it has to build using CW, gcc and Visual C++...

Philippe
_______________________________________________
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: Partial includes syntax
      • From: Rush Manbert <email@hidden>
  • Prev by Date: Re: Can Xcode generate a make file for me?
  • Next by Date: Re: debug window
  • Previous by thread: Re: Can Xcode generate a make file for me?
  • Next by thread: Re: Partial includes syntax
  • Index(es):
    • Date
    • Thread