automake
[Top][All Lists]
Advanced

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

Re: Include paths: no "-I." please


From: Thomas Dickey
Subject: Re: Include paths: no "-I." please
Date: Mon, 4 Jul 2005 10:28:45 -0400
User-agent: Mutt/1.5.9i

On Thu, Jun 30, 2005 at 04:31:43PM +0200, Stepan Kasal wrote:
> 
> As we all know, when cpp processes #include "xx.h", it searched first
> the "current directory", and then the system directories.  The problem
> here is that "current directory" here means the directory of the currently
> processed file, so it's the srcdir, not builddir!

an additional problem is that the decision about which is the current
directory depends on the compiler.  For that reason, I do not use quoted
includes.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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