• 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: #include "xxx.inc" problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: #include "xxx.inc" problem


  • Subject: re: #include "xxx.inc" problem
  • From: George Warner <email@hidden>
  • Date: Fri, 03 Sep 2004 09:20:58 -0700

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.


  • Follow-Ups:
    • re: #include "xxx.inc" problem
      • From: Torsten Sadowski <email@hidden>
    • default install
      • From: "bryan" <email@hidden>
  • Prev by Date: Re: #include "xxx.inc" problem
  • Next by Date: default install
  • Previous by thread: Re: #include "xxx.inc" problem
  • Next by thread: default install
  • Index(es):
    • Date
    • Thread