[Top][All Lists]

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

Misleading missing-file-messages if included file is generated

From: Georg Sauthoff
Subject: Misleading missing-file-messages if included file is generated
Date: Mon, 1 Sep 2008 15:39:16 +0200
User-agent: Mutt/1.5.13 (2006-08-11)


suppose that you have some include-statement in the makefile like this:

include foo.d

and make knows how to generate foo.d.

Then you get a message that foo.d is missing _and_ after that make
generates foo.d.

These warning/error-messages are very misleading and clutter up useful
warnings and messages of the build process.

The -include workaround is dangerous, since it hides real bugs, where
make really cannot generate needed include-files.

I am annoyed by this bug for several make versions now - currently I am
using 3.81. I noticed that now at least the manual is consistent with
this make behaviour. But it is still a bug.

Best regards
Georg Sauthoff
Fortune : 'Real programmers don't comment their code.
           It was hard to write, it should be hard to understand.' ;)

reply via email to

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