From: Lennart Poettering Date: Wed, 7 Sep 2005 11:59:32 +0000 (+0000) Subject: remove some obsolte stuff regarding compiler warnings from HACKING X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=f6e96a3157cb326e34ca8bc160e5da5f80626ee5;p=catta remove some obsolte stuff regarding compiler warnings from HACKING git-svn-id: file:///home/lennart/svn/public/avahi/trunk@521 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/docs/HACKING b/docs/HACKING index 46504da..eec7eb7 100644 --- a/docs/HACKING +++ b/docs/HACKING @@ -36,34 +36,6 @@ Please comply with the following rules when hacking on Avahi: your code thrice with your brain before committing. Valgrind is only a final check. - * When you code in C, please compile with the following gcc options from time - to time: - - -Wextra - -Wfloat-equal - -Wmissing-declarations - -Wmissing-prototypes - -Wstrict-prototypes - -Wredundant-decls - -Wold-style-definition - -Wmissing-noreturn - -Wdeclaration-after-statement - -Wshadow - -Wendif-labels - -Wlarger-than-4000 - -Wpointer-arith - -Wbad-function-cast - -Wcast-qual - -Wcast-align - -Wwrite-strings - -Winline - - This will show you a bunch of issues which might be problems in your source - code. Not all options are available on all GCC versions. Just pass these - options in $CFLAGS when running bootstrap.sh: - - CFLAGS="-Wextra ..." ./bootstrap.sh - * Whenever you add a new Makefile.am, C (.c or .h) source file, shell or python script please add this legal blurb to its header: