commit:     e6711fad89621867b8277c033920653f36522d8e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  7 22:50:58 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul  7 22:50:58 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6711fad

toolchain.eclass: update -fdiagnostics-details version

Didn't make it into 15, hopefully will into 16. Also, drop the
old name (-fdiagnostics-explain-harder) -- though it may be changing
name again, we'll see.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 8d495776ab43..ae7a0bf46cce 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -2174,10 +2174,13 @@ gcc_do_filter_flags() {
        fi
 
        if ver_test -lt 15.1 ; then
-               filter-flags -fdiagnostics-explain-harder -fdiagnostics-details
                filter-flags 
-fdiagnostics-set-output=text:experimental-nesting=yes
        fi
 
+       if ver_test -lt 16.1 ; then
+               filter-flags -fdiagnostics-details
+       fi
+
        # Ada: PR116226
        # D: PR117002 (bug #940750)
        filter-flags -Warray-bounds

Reply via email to