[ scummvm-Bugs-1803020 ] Oddity in Makefile.common

SourceForge.net noreply at sourceforge.net
Wed Sep 26 22:00:14 CEST 2007


Bugs item #1803020, was opened at 2007-09-26 22:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1803020&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Launcher/Install
Group: All Games
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Oddity in Makefile.common

Initial Comment:
Latest ScummVM SVN

If I compile ScummVM shortly after rebooting my computer, I get a warning message like this:

make: Warning: File `/dev/null' has modification time 3,4e+03 s in the future

The most likely explanation I've heard is that /dev/null is created, or maybe just accessed, before the system has set the correct time zone.

This in itself is, of course, not a bug in ScummVM. However, I'm curious about this which I found at the end of Makefile.common:

# Include the dependency tracking files. We add /dev/null at the end
# of the list to avoid a warning/error if no .d file exist
-include $(wildcard $(addsuffix /*.d,$(DEPDIRS))) /dev/null

Is the inclusion of /dev/null actually necessary here? According to the documentation for GNU Make 3.81, the very purpose of using "-include" instead of "include" is to suppress errors and warnings.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1803020&group_id=37116




More information about the Scummvm-tracker mailing list