unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: lekktu@gmail.com, emacs-devel@gnu.org
Subject: Re: _GL_UNUSED
Date: Wed, 26 Mar 2014 05:57:10 +0200	[thread overview]
Message-ID: <83ior1zk6h.fsf@gnu.org> (raw)
In-Reply-To: <53322BDE.5010801@cs.ucla.edu>

> Date: Tue, 25 Mar 2014 18:22:38 -0700
> From: Paul Eggert <eggert@cs.ucla.edu>
> 
> 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.



  parent reply	other threads:[~2014-03-26  3:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-26  1:02 _GL_UNUSED Juanma Barranquero
2014-03-26  1:22 ` _GL_UNUSED Paul Eggert
2014-03-26  1:39   ` _GL_UNUSED Juanma Barranquero
2014-03-26  3:57   ` Eli Zaretskii [this message]
2014-03-26  9:29     ` _GL_UNUSED Juanma Barranquero
2014-03-26 15:21       ` _GL_UNUSED Eli Zaretskii
2014-03-26 15:24         ` _GL_UNUSED Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83ior1zk6h.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).