unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Richard M. Stallman" <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Turning off pointer signedness warnings (patch)
Date: Sat, 31 Dec 2005 12:40:10 -0500	[thread overview]
Message-ID: <E1EskiA-0006Pt-PV@fencepost.gnu.org> (raw)
In-Reply-To: <87fyoaclu5.fsf@stupidchicken.com> (message from Chong Yidong on Fri, 30 Dec 2005 16:32:34 -0500)

    GCC 4.0 warns when a pointer to an unsigned object is passed to a
    function that takes pointers to signed objects (or vice versa).  In
    older GCC's, this was a -pedantic warning; now, it's turned on by
    default. (http://gcc.gnu.org/ml/gcc/2004-12/msg00841.html)

The GCC developers told me that this will be reversed in the next
release.  Our complaints did win the day.

    The following patch makes use of the new -Wno-pointer-sign option,
    whenever it is available.  If there are no objections, I'll check it
    in soon.

Please do, and thanks.

      parent reply	other threads:[~2005-12-31 17:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-30 21:32 Turning off pointer signedness warnings (patch) Chong Yidong
2005-12-31  9:07 ` Eli Zaretskii
2005-12-31 15:10   ` Chong Yidong
2005-12-31 17:40 ` Richard M. Stallman [this message]

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=E1EskiA-0006Pt-PV@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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).