[Top][All Lists]

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

Re: ‘surrogates_to_codepoint’ warnings

From: Paul Eggert
Subject: Re: ‘surrogates_to_codepoint’ warnings
Date: Mon, 15 Jan 2018 13:38:26 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

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 via email to

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