getting rid of mkproto.sh from Samba3
Stefan (metze) Metzmacher
metze at samba.org
Wed Jun 6 09:59:01 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Henrik Nordstrom schrieb:
> ons 2007-06-06 klockan 13:19 +1000 skrev tridge at samba.org:
>
>> Another tool could check that every function that has a prototype
>> includes the header that declares the prototype.
>
> gcc -Wmissing-prototypes
>
> a gcc option every programmer should use.
>
> The list of GCC warnings I currently use in most projects.
>
> -Wall
> -Werror
> -Wcomment
> -Wpointer-arith
> -Wcast-align
> -Wwrite-strings
> -Wstrict-prototypes
> -Wmissing-prototypes
> -Wmissing-declarations
> -Wshadow
> -Wdeclaration-after-statement
> -Waggregate
Hi Hendrik,
I can only find -Waggregate-return in man gcc...
and we can't use this as we often return NTSTATUS which is a struct.
metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFGZoVlm70gjA5TCD8RAoPiAKCTSwGZfrpd+Iz0SAv5L/dwlbF0kQCgtjFS
L208HDaBqPRaz4lM3quGlEI=
=2Usc
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list