• 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: Torsten Sadowski <email@hidden>
  • Date: Sat, 4 Sep 2004 18:25:31 +0200 (CEST)

Not quite. <> searches the system include directories and all directories
given with the -I option, whereas "" needs the full path either
absolute or relative to the current directory. This is only what gcc
expects. The question is what XCode tells gcc. I found that:
#include<something.h> works
#include<something> does not work
#include"something.h" and
#include"something" work if they are in the same directory as the
including source file.
The included files are in all cases added to the target.

Torsten

On Fri, 3 Sep 2004, George Warner wrote:

> on 9/3/04 12:04 PM, Torsten Sadowski at <email@hidden>
> wrote:
>
> > 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.
>
> The "<>" usually means that the file is in a system directory NOT the users
> directory. Some compilers will look for system files in the users directory
> also. AFAIK Xcode does not.
>
> --
> 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.


References: 
 >Re: #include "xxx.inc" problem (From: George Warner <email@hidden>)

  • Prev by Date: indexing complaints (to console) about nonexistent files not
  • Next by Date: Run Log message
  • Previous by thread: Re: #include "xxx.inc" problem
  • Next by thread: Re: #include "xxx.inc" problem
  • Index(es):
    • Date
    • Thread