1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/usr.bin/m4
Ed Schouten 7e659f9491 Add the Clang specific -Wmissing-variable-declarations to WARNS=6.
This compiler flag enforces that that people either mark variables
static or use an external declarations for the variable, similar to how
-Wmissing-prototypes works for functions.

Due to the fact that Yacc/Lex generate code that cannot trivially be
changed to not warn because of this (lots of yy* variables), add a
NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this
specific compiler warning.

Announced on:	toolchain@
2013-04-19 19:45:00 +00:00
..
lib Remove contractions. 2012-10-07 20:01:41 +00:00
TEST
eval.c
expr.c More -Wmissing-variable-declarations fixes. 2012-10-20 10:33:15 +00:00
extern.h More -Wmissing-variable-declarations fixes. 2012-10-20 10:33:15 +00:00
gnum4.c More -Wmissing-variable-declarations fixes. 2012-10-20 10:33:15 +00:00
look.c
m4.1 Remove contractions. 2012-10-07 20:01:41 +00:00
main.c More -Wmissing-variable-declarations fixes. 2012-10-20 10:33:15 +00:00
Makefile Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
mdef.h
misc.c
NOTES
parser.y More -Wmissing-variable-declarations fixes. 2012-10-20 10:33:15 +00:00
pathnames.h
stdd.h
tokenizer.l
trace.c