summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/globals.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-04-28 15:37:25 +0000
committerharti <harti@FreeBSD.org>2005-04-28 15:37:25 +0000
commit5063114341528789e7028bb9807e2d1d364d9de9 (patch)
tree8f067ab4376d2e46aee60b3591c3912a0093058e /usr.bin/make/globals.h
parentc2ee427f58870a57f71f4e20d3f83c4e6bdde733 (diff)
downloadFreeBSD-src-5063114341528789e7028bb9807e2d1d364d9de9.zip
FreeBSD-src-5063114341528789e7028bb9807e2d1d364d9de9.tar.gz
Introduce a flag to enable extended warnings (-x) and make them off
by default. This should fix the problem of getting lots of errors when building with an up-to-date make and old *.mk files.
Diffstat (limited to 'usr.bin/make/globals.h')
-rw-r--r--usr.bin/make/globals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/make/globals.h b/usr.bin/make/globals.h
index 8b87ba3..9528272 100644
--- a/usr.bin/make/globals.h
+++ b/usr.bin/make/globals.h
@@ -46,6 +46,7 @@
*/
#include <time.h>
+#include <stdint.h>
#include "lst.h"
#include "sprite.h"
@@ -119,4 +120,7 @@ extern Boolean oldVars; /* Do old-style variable substitution */
extern int debug;
+/* warning flags */
+extern uint32_t warnflags;
+
#endif /* globals_h_1c1edb96 */
OpenPOWER on IntegriCloud