Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
09729fd
)
add -Wmissing-prototypes
author
David Hill
<dhill@conformal.com>
Tue, 28 Aug 2012 23:46:51 +0000
(19:46 -0400)
committer
David Hill
<dhill@conformal.com>
Tue, 28 Aug 2012 23:46:51 +0000
(19:46 -0400)
Makefile
patch
|
blob
|
history
linux/Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
da102e1
..
c18bff2
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-9,7
+9,7
@@
PROG=spectrwm
#MAN=spectrwm_pt.1 spectrwm_ru.1 spectrwm_es.1 spectrwm_it.1
MAN=spectrwm.1
#MAN=spectrwm_pt.1 spectrwm_ru.1 spectrwm_es.1 spectrwm_it.1
MAN=spectrwm.1
-CFLAGS+=-std=gnu89 -Wall -Wextra -Wshadow -Wno-uninitialized -g
+CFLAGS+=-std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g
# Uncomment define below to disallow user settable clock format string
#CFLAGS+=-DSWM_DENY_CLOCK_FORMAT
CPPFLAGS+= -I${X11BASE}/include -I${X11BASE}/include/freetype2
# Uncomment define below to disallow user settable clock format string
#CFLAGS+=-DSWM_DENY_CLOCK_FORMAT
CPPFLAGS+= -I${X11BASE}/include -I${X11BASE}/include/freetype2
diff --git
a/linux/Makefile
b/linux/Makefile
index
79c152f
..
709fd82
100644
(file)
--- a/
linux/Makefile
+++ b/
linux/Makefile
@@
-1,4
+1,4
@@
-CFLAGS+= -Wall -Wextra -Wshadow -g -D_GNU_SOURCE -I. -I/usr/include/freetype2
+CFLAGS+= -std=c99 -Wall -Wextra -Wmissing-prototypes -Wshadow -g -D_GNU_SOURCE -I. -I/usr/include/freetype2
CFLAGS+= -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\"
LDADD+= -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor
CFLAGS+= -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\"
LDADD+= -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor