diff options
author | Paul Smith <psmith@gnu.org> | 1997-08-18 18:11:04 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1997-08-18 18:11:04 +0000 |
commit | 63dff1e0bcb9e1bdd189e4a3e0d6126389251885 (patch) | |
tree | f8b39c21a6c709622d4fcc18f40539477a5ceb1a /main.c | |
parent | e746a9c9510b2cc83548e8d9108eb24540e7a821 (diff) | |
download | gunmake-63dff1e0bcb9e1bdd189e4a3e0d6126389251885.tar.gz |
Bug fixes and automake changes.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -392,6 +392,12 @@ struct file *default_file; This turns on pedantic compliance with POSIX.2. */ int posix_pedantic; + +/* Nonzero if some rule detected clock skew; we keep track so (a) we only + print one warning about it during the run, and (b) we can print a final + warning at the end of the run. */ + +int clock_skew_detected; /* Mask of signals that are being caught with fatal_error_signal. */ @@ -1554,6 +1560,10 @@ int main (int argc, char ** argv) fatal ("No targets"); } + /* If we detected some clock skew, generate one last warning */ + if (clock_skew_detected) + error("*** Warning: Clock skew detected. Your build may be incomplete."); + /* Exit. */ die (status); } |