[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] PATCH: Building lmi with gcc 10 and C++20
From: |
Greg Chicares |
Subject: |
Re: [lmi] PATCH: Building lmi with gcc 10 and C++20 |
Date: |
Fri, 5 Jun 2020 22:14:09 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
On 2020-06-05 17:55, Greg Chicares wrote:
> On 2020-06-05 16:08, Vadim Zeitlin wrote:
>> On Fri, 5 Jun 2020 15:39:34 +0000 Greg Chicares <gchicares@sbcglobal.net>
>> wrote:
[...]
>> GC> I suppose I'll find that you've already adapted lmi's own code to gcc-10,
>> GC> but that we'll need to upgrade wx.
>>
>> I _think_ that the version of wx currently used by lmi might compile fine
>> with it already. I had to fix a few things to compile wx with gcc 10 in
>> C++20 mode, but these were really problems due to C++20 changes, not gcc 10
>> ones.
I needed to make a couple of changes to lmi:
371ae7b1 (... origin/HEAD) Suppress a gcc-10.0.0 warning for wx
52a41006 Remove [[noreturn]] attribute from function definitions
I tested those changes with MinGW-w64 gcc-8.3.0 before pushing,
and I'll test them with gcc-10.0.0 now...
...okay, the regression test passed, but here's one more change:
a610969b Accommodate change in MinGW-w64 version numbering
...and the nychthemeral test called for yet another:
7330fcad Remove [[noreturn]] attribute from one more function definition
...and now I've pushed all of that:
7330fcad (HEAD -> master, origin/master, origin/HEAD)