[hackers] [dwm] shut up about deprecated Xlib functions || Anselm R Garbe

From: <git_AT_suckless.org>
Date: Wed, 01 May 2013 15:39:23 +0200

commit 1479e76f01bf066c441e096ad3f9370b433ce552
Author: Anselm R Garbe <anselm_AT_garbe.us>
Date: Wed May 1 15:39:06 2013 +0200

    shut up about deprecated Xlib functions

diff --git a/config.mk b/config.mk
index 35fd1e3..bc3d80e 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -21,7 +21,7 @@ LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS}
 # flags
 CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
 #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
 LDFLAGS = -s ${LIBS}
 
 # Solaris
Received on Wed May 01 2013 - 15:39:23 CEST

This archive was generated by hypermail 2.3.0 : Wed May 01 2013 - 15:48:13 CEST