[Aptitude-devel] Bug#1012895: Bug#1012895: Bug#1012895: aptitude: ftbfs with GCC-12
    Axel Beckert 
    abe at debian.org
       
    Thu Jun 16 14:17:56 BST 2022
    
    
  
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.
		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
    
    
More information about the Aptitude-devel
mailing list