Enable -Wmissing-prototypes
In other words, warn when a function is missing static. I don't see why this isn't in -Wextra.weechat-hashes
parent
a2a118c857
commit
70f627bc47
3
Makefile
3
Makefile
|
@ -3,7 +3,8 @@ BINDIR ?= ${PREFIX}/bin
|
||||||
MANDIR ?= ${PREFIX}/man
|
MANDIR ?= ${PREFIX}/man
|
||||||
|
|
||||||
CEXTS = gnu-case-range gnu-conditional-omitted-operand
|
CEXTS = gnu-case-range gnu-conditional-omitted-operand
|
||||||
CFLAGS += -std=c11 -Wall -Wextra -Wpedantic ${CEXTS:%=-Wno-%}
|
CFLAGS += -std=c11 -Wall -Wextra -Wpedantic -Wmissing-prototypes
|
||||||
|
CFLAGS += ${CEXTS:%=-Wno-%}
|
||||||
LDADD.libtls = -ltls
|
LDADD.libtls = -ltls
|
||||||
LDADD.ncursesw = -lncursesw
|
LDADD.ncursesw = -lncursesw
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue