help-make
[Top][All Lists]
Advanced

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

Re: suppressing "No such file or directory" upon include


From: Noel Yap
Subject: Re: suppressing "No such file or directory" upon include
Date: Fri, 07 May 2004 12:33:54 -0400
User-agent: Mozilla Thunderbird 0.5 (Windows/20040212)

Yeah, I figured it wasn't going to be a straight-forward fix since the bug 
report was posted about two years ago.

Thanks for giving more info.

Noel

Boris Kolpackov wrote:

Noel Yap <address@hidden> writes:


Is there any way to suppress the "No such file or directory" error generated by "include" unless it's possible to create the included makefile?


I was thinking about fixing this some time ago but apparently to do
it right is going to be messy. As we know make gives an error message with a file name and a line number if makefile is missing and later, if it cannot be built, make just says "unable to build...". Now if we are to postpone the first message until rebuild time then we'll need to store this file:line information somewhere. And that's where things get messy.


I'd rather not use -include because it ignores errors altogether.


My "meantime solution" is to change include to -include once things
get stable.

hth,
-boris



_______________________________________________
Help-make mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-make





reply via email to

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