When using clang, I get the following warning
clang: warning: future releases of the clang compiler will prefer GCC installations containing libstdc++ include directories; '/usr/bin/../lib64/gcc/x86_64-suse-linux/15' would be chosen over '/usr/bin/../lib64/gcc/x86_64-suse-linux/16' [-Wgcc-install-dir-libstdcxx]
I haven’t been able to fix this issue, except to tell clang to ignore the problem but it’s painful and I need to do it everytime.
Warnings aren’t always issues. This one is just telling you that there is a change coming that will change the include directories so you can fix your projects if necessary.
You would need to find some clang documentation around it to find what might need to change and if you need to do anything, though the direct path in this warning is going to be the responsibility of the GCC packager if /usr/lib64/gcc/x86_64-suse-linux/16 doesn’t already exist.