Re: gcc-15/16 compiling the std module and the --with-default-libstdcxx-abi compiler flag

Jonathan Wakely via Gcc-help <[email protected]>
Newsgroups gmane.comp.gcc.help
Message-ID <CAH6eHdT6y=ZDpMOn8F3pzK3p9zb=TqCxne+iHqr9RpwMFSjApA@mail.gmail.com>
On Mon, 17 Nov 2025 at 14:26, Jonathan Wakely <[email protected]> wrote:
>
> On Mon, 17 Nov 2025 at 14:12, John Fourkiotis via Gcc-help
> <[email protected]> wrote:
> >
> > Hi,
> >
> > I tried to compile the std module using the latest gcc sources, by using :
> >
> > g++ -std=c++23 -fmodules -fsearch-include-path -c bits/std.cc
> >
> > and it worked OK. I've tried to compile some simple programs with it, and
> > it worked as expected.
> >
> > However, when I build the compiler with the option
> >
> > --with-default-libstdcxx-abi = gcc4-compatible
> >
> > The std module failed with various compiler errors. I guess this is
> > something to be expected, but I would like to ask if it is also something
> > that may be "fixed" in the future or not.
>
>
> It's a bug, and so if somebody reports it, it's likely to be fixed,
> and if nobody reports it, then it's unlikely to be fixed.
>
> See https://gcc.gnu.org/bugs/ for more info on reporting, thanks!

Actually in this case the fix is trivial and I'll push it later today.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.