On Fri, 07 Dec 2007 18:33:52 +0300
Andrey Gusev <[EMAIL PROTECTED]> wrote:
> * Mattias Gaertner <[EMAIL PROTECTED]> [Fri, 7 Dec 2007
> 13:13:40 +0100]:
> > On Fri, 07 Dec 2007 12:58:49 +0300
> > Andrey Gusev <[EMAIL PROTECTED]> wrote:
> >
> > > The message "The ... option ... contains a not existing
> > > directory", wrongly say about my really existient directories.
> > > That occurs when i press "OK" button in search path editor dialog
> (be
> > > called from project compiler options),
> > > sayed about totally all directories from the path, so that
> > > warning
> is
> > > useless to find directory mistyping.
> > > Cut trailing slash forgotten (before existence checking) ?
> >
> > ide/compileroptionsdlg.pp
> > function TfrmCompilerOptions.CheckSearchPath
>
> It not worked with relative paths (i'm forgot, whose that advice, to
> use relative paths, your, or may be Vincent Snijders).
It does work with relative paths.
But relative paths are context sensitive.
Normally the IDE works internally only with absolute paths. The only
exceptions are paths from unsaved project/package/files.
So, either you didn't save the project/package yet and then a relative
path makes no sense.
Or a function in the IDE forgot to make the path absolute before
passing it to the function.
> Whereas "OK" button, pressed on itself compiler options dialog (not
> paths editor !), give clean result.
> It is two different existence checking mechanics ?
Yes.
The first (leaving the path editor) is a simple heuristic.
The second (leaving the compiler dialog) can really resolve all macros
and relationships.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives