Re: [cc65] Problem with #include (Or just myself failing at C again ;) )

From: Oliver Schmidt <ol.sc1web.de>
Date: 2009-02-26 23:28:14
Hi Markus,

> Why cant i do this:
>
> #include "../foo.h"

Actually you can (successfully).

> Is that not supported by cc65?

It is supported for sure.

> I always get an error about cc65 not being able to fine "../foo.h"

Maybe your expectation on the path used as base for the relative path
doesn't match the reality.

As far as I remember the base used is the path of the current
compilation unit (aka source file)...

Best, Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Feb 26 23:28:20 2009

This archive was generated by hypermail 2.1.8 : 2009-02-26 23:28:22 CET