[ccan] Should we start using -Wextra in CCAN?

Tim Post echo at echoreply.us
Mon May 18 00:03:42 EST 2009


Bah, sorry, just realized -Wempty-body will break older versions of gcc
(i.e. 4.2.x or earlier)

Cheers,
--Tim

On Sun, 2009-05-17 at 20:48 +0800, Tim Post wrote:
> -Wextra is really annoying, especially when you _know_ those comparisons
> are only reached when two variables are signed the same. However, some
> of the stuff that -Wextra turns on, such as -Wempty-body can be really
> useful.





More information about the ccan mailing list