bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tests: factor st_ctime-comparison out of two headers


From: Simon Josefsson
Subject: Re: [PATCH] tests: factor st_ctime-comparison out of two headers
Date: Sat, 19 Nov 2011 22:03:51 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Jim Meyering wrote:
>> -W
...
>> -Wwrite-strings
>> -fdiagnostics-show-option
>
> Thanks. I've updated my build script to include these for glibc/x86 builds
> (except -Werror, which causes a configuration error already in
> "checking whether the compiler works...").

I recommend putting warning flags in a separate variable,
e.g. WARN_CFLAGS, which is not used during ./configure checks but only
when building (parts of) the project code.  That way, -Werror can be
used, which I find helpful since I can mentally ignore the compilation
output since I know I will be interrupted if there is anything real to
pay attention to.

/Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]