Deprecated functions with lyx-2.3.7dev
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Wed Nov 8 22:17:59 UTC 2023
Le 08/11/2023 à 19:41, Richard Kimberly Heck a écrit :
> On 11/8/23 10:00, Jean-Marc Lasgouttes wrote:
>> Le 07/11/2023 à 18:03, Richard Kimberly Heck a écrit :
>>> I think these must be safe. They have all been in master for three
>>> years.
>>
>> I had a better idea: let's mute these warnings about future C++
>> versions, since we limit ourselves to C++14 in 2.3.X anyway.
>>
>> Does the patch below seem OK?
>
> I am ignorant of such things....
The solution can be divided in two parts :
1/ decide that we do not care about obsolete methods or compatibility
problems with recent C++ versions. The idea is that 2.3 is stuck with
C++11/14 and that what heppens with other versions is none of our business.
2/ find a correct implementation. I used the macro that we already used
to add -Wno-c++20-compat with versions of gcc that support it. For the
other one (-Wno-deprecated-declarations), I checked that it was already
present in gcc 4.9.
I can try to test with various clang versions too.
JMarc
More information about the lyx-devel
mailing list