Re: [cc65] [ca65] Include dir behaviour change between 2.13.3 and 2.13.9

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2012-07-27 20:58:43
Hello Oliver,

* On Fri, Jul 27, 2012 at 08:23:11PM +0200 Oliver Schmidt wrote:
> Hi,
> 
> > As I said, I would expect to take the sfile specific.i65 from the
> > directory where ca65 was called from; however, in this last case, it is
> > not for 2.13.9.
> 
> I'm far from having fully understood your scenario but I guess the
> change in behaviour here is the result of user wishes.
> 
> I.e. I think that an include directive in a source file is a property
> of that source file - and as such of the location of the source file
> in relation to the file-to-be-included. The search behaviour should be
> independent as possible from additional environment aspects - like the
> current directory.

Well, I would follow this argumentation if the compiler would complain
about not finding specific.i65 in the test cases a1 and a2. However, it
does not. Here, the current directory (from where ca65 was called, that
is, not where the current file is located) matters.

So, either the current directory matters, or it does not. The current
behaviour is not consistent.

Regards,
Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Jul 27 20:59:06 2012

This archive was generated by hypermail 2.1.8 : 2012-07-27 20:59:09 CEST