build: Enable stricter warnings and fix the biggest complaints
authorEmanuele Aina <emanuele.aina@collabora.com>
Sat, 21 Sep 2013 12:03:02 +0000 (14:03 +0200)
committerEmanuele Aina <emanuele.aina@collabora.com>
Sat, 21 Sep 2013 13:11:00 +0000 (15:11 +0200)
commit29866ac994fbb9b02df5fae77bfe0a8d890ff9a0
tree7447a2ea108593e0db2d4be4b24aada93a040836
parent01cc8aa9d5fbdc501199bd2353993ba27af04825
build: Enable stricter warnings and fix the biggest complaints

Pointer arithmetics with (void*) is not well defined, it's better to
explicitly use (char*) to do byte arithmetics.

Also, the "%p" format in printf is not guaranteed to print pointers in
the 0xNNNN format, better to explicitly force this kind of formatting.
configure.ac
m4/attributes.m4 [new file with mode: 0644]
src/cmdparse.c
src/help.c
src/refdbg.c
src/symsnarf.c
src/user.c
tests/error1.c
tests/tests.c