re: #include "xxx.inc" problem
re: #include "xxx.inc" problem
- Subject: re: #include "xxx.inc" problem
- From: Torsten Sadowski <email@hidden>
- Date: Fri, 3 Sep 2004 21:04:04 +0200 (CEST)
Try it with #include<> instead of "" which works only when both files are
in the same directory. At least for 1.2 it is still a problem.
Torsten
On Fri, 3 Sep 2004, George Warner wrote:
> On Thu, 2 Sep 2004 10:52:37 +0200, Leos Stybnar <email@hidden> wrote:
> > I am switching from CW 8 to Xcode 1.5. I have lots of files suffixed
> > ".inc" that I am including in cpp files (#include "xxx.inc"), but Xcode
> > says there is no such file xxx.inc. If I rename it to "xxx.h" it works.
> > In Project Builder it works properly as well. What is wrong?
> > Thanks for help
>
> Just for giggles I created a new Xcode project and added a header file which
> I renamed to "untitled.inc". I then added the following line to my main
> source file:
>
> #include "untitled.inc"
>
> Build and no-errors.
>
> So the only thing that I can think of is did you add all your .inc files to
> your project?
>
> --
> Enjoy,
> George Warner,
> Schizophrenic Optimization Scientist
> Apple Developer Technical Support (DTS)
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.