[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ‘surrogates_to_codepoint’ warnings
From: |
Richard Copley |
Subject: |
Re: ‘surrogates_to_codepoint’ warnings |
Date: |
Mon, 15 Jan 2018 22:19:07 +0000 |
On 15 January 2018 at 21:38, Paul Eggert <address@hidden> wrote:
> 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.
OK, thanks. I get no warnings at -O2.
Re: ‘surrogates_to_codepoint’ warnings, martin rudalics, 2018/01/16