lotus

previous page: 11.10: My (ported) source requires <sys/file.h>. Why isn't it there?
  
page up: comp.sys.apple2. gno FAQ
  
next page: 11.12: When using the December 1997 libraries (or later version), why aremy programs larger than they used to be?

11.11: Why, when I '#include ' (or some other file), does thecompiler take it out of my current directory instead of out ofthe system header directories?




Description

This article is from the Apple II GNO FAQ, by Devin Reade with numerous contributions by others.

11.11: Why, when I '#include ' (or some other file), does thecompiler take it out of my current directory instead of out ofthe system header directories?

    A#11.11:	This is an unfortunate side-effect of using the ORCA/C "path"
pragma to avoid duplication of system header files between your
GNO and ORCA installations.  (See Q#5.1, Q#6.1, Q#6.4, and
Q#6.5.)

The reason for the problem is that when the file is included
with the angle bracket syntax (vice double quotes), ORCA/C 
will still search the current directory before those specified
by the "path" pragma.

At this time, the only known work-around is to avoid, in your
own sources, using file names used by the system header files.
    

 

Continue to:













TOP
previous page: 11.10: My (ported) source requires <sys/file.h>. Why isn't it there?
  
page up: comp.sys.apple2. gno FAQ
  
next page: 11.12: When using the December 1997 libraries (or later version), why aremy programs larger than they used to be?