Sam wrote awile back:
> > Should that be the default? Should the "current directory" (the actual 
> source
> > directory, not the build area) be added to the INC by default? 
> Something like
> > this:
>
>Definitely.  C programmers will naturally expect the current directory to
>be search for #include files.

I ran into this problem as well and solved it, efter som head scratching, 
by addning INC => '../../../'

Then it reappeared when I tried to run my unit tests (in the t/ directory). 
More head scratching and another looong ../../../../../..etc../../  INC 
directive (beause Inline rebuilt the module from within the t/ dir). BTW, 
having your code run fine and not your unit tests is an... interesting 
regression :)

So, pinning down which is the actual source directory would be a Good 
Thing(tm) in my book.

<brainstorm>
I'm not sure whether rebuilding the module from within the t/ is an issue 
or not, but an option would perhaps be to also anchor the _Inline build 
directory to the source file location. Food for thought...


/J

------ ---- --- -- -- -- -  -   -    -        -
Johan Lindstr�m                    Boss Casinos
Sourcerer                     [EMAIL PROTECTED]
                  http://www.bahnhof.se/~johanl/
If the only tool you have is a hammer,
everything tends to look
like a nail 


Reply via email to