[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] New CI breakage due to gcc 12 updates
From: |
Greg Chicares |
Subject: |
Re: [lmi] New CI breakage due to gcc 12 updates |
Date: |
Fri, 29 Jul 2022 15:56:11 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 |
On 7/28/22 13:43, Vadim Zeitlin wrote:
> On Mon, 25 Jul 2022 22:39:13 +0000 Greg Chicares <gchicares@sbcglobal.net>
> wrote:
[...some old frozen code uses deprecated features...]
> GC> I imagine std::unary_function will be provided forever, even
> GC> though deprecated
[...]
> I wouldn't be so certain about it, clang, in particular, is fond of rather
> aggressively removing deprecated identifiers.
Yet they seem to provide workarounds: e.g., when clang removed std::auto_ptr,
it added
_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
for its own 'libc++'; with gnu 'libstdc++', I imagine something like
-Wno-deprecated-declarations
would have a similar effect. If not, we could add something like
-D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
where
-Wno-deprecated-declarations
would be specified in makefile target-specific flags for a few files only.