Er... are you trying to get rid of compiler warnings? Don't worry about it. Turn them off in the Makefile. Get rid of that pedantic biz:
config.mk
And, yeah, I had a quick go at that one too, but I saw that it would add a level of complexity that is unnecessary, Plus I just didn't care enough.Code:# flags
CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
#CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
CFLAGS = -Wall -Os ${INCS} ${CPPFLAGS}
#LDFLAGS = -g ${LIBS}
LDFLAGS = -s ${LIBS}
It's much more fun when the the compiler doesn't cough so many warnings, I agree. Get rid of that -Wall biz, and you won't see any of it. It's just like wearing rose-colored glasses.:) As long as the resulting program compiles and runs, on *your* PC, who cares? That's the joy of it. Like home-made blackberry jam.
Nothing will blow up. Glib/GTK are loaded with deprecated funcs that still work. X is loaded with them. Every serious library is loaded with deprecated stuff, in much the same way as your local library has old books that are still useful, although a bit out of date. Buy the new book. Or don't. The knowledge still works.

