chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Include files relative to the current sour


From: John Cowan
Subject: Re: [Chicken-hackers] [PATCH] Include files relative to the current source file
Date: Sat, 28 May 2016 11:51:25 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

Evan Hanson scripsit:

> Adds the directory of the current source file to the list of pathnames
> searched by "(include ...)". This is given the lowest search priority,
> below CHICKEN_HOME and any directories specified by "-include-path".

It seems to me that it should have the highest priority, so that if a
specific version of some library code is packaged with the code, it will be
used in preference to any installed version.  This is what is done in C,
at least by gcc and clang.

-- 
John Cowan          http://www.ccil.org/~cowan        address@hidden
Yakka foob mog.  Grug pubbawup zink wattoom gazork.  Chumble spuzz.
    --Calvin, giving Newton's First Law "in his own words"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]