Closed grochoge closed 1 year ago
Hello. You probably have a mismatch of sources between gnat-llvm and gnat/gcc. Can you try to update to master on both gnat-llvm and gcc sources?
@ArnaudCharlet This is with the latest master on both. Just updated gcc now (to basepoints/gcc-14-1168-gbd99d7b3ca4
) with no change.
I'm missing where it's treating warnings as errors in the .gpr file.
It also seems like Warnsw
is referenced in that file, Ironically to "Disable warnings on unused use clauses". And commenting out the use line results in errors about it being undefined. Maybe a GCC/GNAT 12.1 bug?
Yes, if you're using the latest sources then it's a bug in GCC 12.1 and you'll need to use a more recent version of GCC to build GNAT LLVM (since Warnsw is indeed referenced).
Build log tail: