srcrelincludes

Controls the lookup of #include files.

Syntax
#pragma srcrelincludes on | off | reset
  
Remarks

When on , the compiler looks for #include files relative to the previously included file (not just the source file). When off , the compiler uses the CodeWarrior IDE's access paths or the access paths specified with the -ir option.

Use this pragma when multiple files use the same file name and are intended to be included by another header file in that directory. This is a common practice in UNIX programming.

This pragma corresponds to the Source-relative includes option in the Access Paths panel.By default, this pragma is off .

Related information
check_header_flags
faster_pch_gen
flat_include
fullpath_file
fullpath_prepdump
keepcomments
line_prepdump
macro_prepdump
msg_show_lineref
msg_show_realref
notonce
old_pragma_once
once
pop, push
pragma_prepdump
precompile_target
simple_prepdump
space_prepdump
syspath_once