On 1/6/26 13:06, Rainer Orth wrote: > In mixed-language builds it may be difficult to restrict -gctf to only > C-language sources. However, the > > cc1plus: note: CTF debug info requested, but not supported for ‘GNU C++17’ > frontend > > warning for non-C languages, which is perfectly benign, may confuse > parts of the build, so it may be useful to disable it. > > This patch applies the existing -Wno-complain-wrong-lang option to > suppress it. > > Bootstrapped without regressions on i386-pc-solaris2.11 > sparc-sun-solaris2.11, also with C/C++-only bootstraps that apply > -gctf/-gsctf via STAGE[23]_CFLAGS and STAGE[23]_TFLAGS. > > Ok for trunk?
Makes sense to me. OK. Thanks! > > Rainer >
