Re: warnings and -Werror

2011-03-14 Thread Simon Josefsson
Reuben Thomas r...@sc3d.org writes: The documentation for the warnings module says: It allows to use ‘-Werror’ at ‘make distcheck’ time but gives no clue as to how this is done; nor is -Werror mentioned in warnings.m4. Could we have a hint, please? (The documentation shows how to make the

Re: warnings and -Werror

2011-03-14 Thread Reuben Thomas
On 14 March 2011 20:17, Simon Josefsson si...@josefsson.org wrote: Do you think this is useful?  Maybe warnings.m4 should unconditionally check for -Werror since it actually is a standard gcc parameter.  Then all projects doesn't have to hard code that test themselves. Alternatively, we

warnings and -Werror

2011-03-12 Thread Reuben Thomas
The documentation for the warnings module says: It allows to use ‘-Werror’ at ‘make distcheck’ time but gives no clue as to how this is done; nor is -Werror mentioned in warnings.m4. Could we have a hint, please? (The documentation shows how to make the set of warnings chosen only apply to