[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] [lmi-commits] master 371ae7b 2/2: Suppress a gcc-10.0.0 warnin
From: |
Greg Chicares |
Subject: |
Re: [lmi] [lmi-commits] master 371ae7b 2/2: Suppress a gcc-10.0.0 warning for wx |
Date: |
Mon, 8 Jun 2020 00:00:50 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
On 2020-06-07 11:31, Vadim Zeitlin wrote:
[...]
> I also still can't reproduce -Wdouble-promotion warning in strvararg.h,
> which is also mentioned in 371ae7b17 (Suppress a gcc-10.0.0 warning for wx,
> 2020-06-05). This is probably even less important, but if you'd be
> interested in removing the line disabling it from pchfile_wx.hpp, could you
> please show the compiler command line which gives this one to you too?
Okay, see attachment. The error occurs on line 666:
/opt/lmi/local/include/wx-3.1/wx/strvararg.h:1048:19: error: implicit
conversion from ‘float’ to ‘double’ when passing argument to function
[-Werror=double-promotion]
[CCing you in case the mailing list rejects this due to size]
error.txt
Description: Text document