unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Richard Copley <rcopley@gmail.com>
Cc: martin rudalics <rudalics@gmx.at>, Eli Zaretskii <eliz@gnu.org>,
	Emacs Development <emacs-devel@gnu.org>
Subject: Re: ‘surrogates_to_codepoint’ warnings
Date: Mon, 15 Jan 2018 13:38:26 -0800	[thread overview]
Message-ID: <8a4d28ee-d68b-f2f4-5e13-5692a6317a8d@cs.ucla.edu> (raw)
In-Reply-To: <CAPM58oiKatH9qKho_rv5-EU7K5FfyfTRPbGvbg_A26GBbs-2GA@mail.gmail.com>

Richard Copley wrote:
> GCC 7.2.
> 
> ./configure --config-cache --with-modules --without-pop 'CFLAGS=-O3 -ggdb3'

I tried that on Fedora 27, which has GCC 7.2.1 20170915 (Red Hat 7.2.1-2), and 
got some of the warnings that you mention. I suggest using -O2 instead, as this 
is the default optimization level and it made the warnings go away for me. I'd 
rather not contort the code to pacify false alarms for every possible 
combination of GCC options, as it's too much work for too little benefit.



  reply	other threads:[~2018-01-15 21:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-15  9:39 ‘surrogates_to_codepoint’ warnings martin rudalics
2018-01-15 12:16 ` Eli Zaretskii
2018-01-15 19:20   ` Richard Copley
2018-01-15 19:30     ` Paul Eggert
2018-01-15 19:48       ` Richard Copley
2018-01-15 21:38         ` Paul Eggert [this message]
2018-01-15 22:19           ` Richard Copley
2018-01-16  3:31             ` Eli Zaretskii
2018-01-16  9:08   ` martin rudalics

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=8a4d28ee-d68b-f2f4-5e13-5692a6317a8d@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rcopley@gmail.com \
    --cc=rudalics@gmx.at \
    /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).