[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: _GL_UNUSED
From: |
Eli Zaretskii |
Subject: |
Re: _GL_UNUSED |
Date: |
Wed, 26 Mar 2014 05:57:10 +0200 |
> Date: Tue, 25 Mar 2014 18:22:38 -0700
> From: Paul Eggert <address@hidden>
>
> Juanma Barranquero wrote:
> > It's OK to use _GL_UNUSED in the sources, or there's some preference
> > not to use it for some reason?
>
> The typical practice is to configure with --enable-gcc-warnings.
> Turning on all GCC warnings can cause more trouble than it cures.
At least on Windows, it does: you get gobs of useless warnings about
mismatch between signed and unsigned char pointers being passed to
some C library functions. That warning gets my vote for being the
most useless compiler warning ever invented.