[Aptitude-devel] Bug#1012895: Bug#1012895: Bug#1012895: aptitude: ftbfs with GCC-12
Matthias Klose
doko at debian.org
Thu Jun 16 15:33:35 BST 2022
On 16.06.22 15:17, Axel Beckert wrote:
> Hi Matthias,
>
> Matthias Klose wrote:
>>>> To build with GCC 11, either set CC=gcc-11 CXX=g++-11 explicitly,
>>>
>>> I think you mean 12 instead of 11.
>>
>> yes, sorry about that.
>
> No problem. That was the obvious one.
>
> But what about my second and more important question?
>
> Axel Beckert wrote:
>>> GCC 11 defaults to the GNU++17 standard. If your package installs
>>> header files in /usr/include, please don't work around C++17 issues
>>> by choosing a lower C++ standard for the package build, but fix these
>>> issues to build with the C++17 standard.
>>
>> Is the same copy & paste error from the GCC 11 bug reports back then
>> as above or is this actually correct for GCC 12? Please clarify.
yes, the default C++ standard didn't change for GCC 12.
More information about the Aptitude-devel
mailing list