Re: OpenMandriva

2024-08-27 Thread Sam James
L_GNUC_PREREQ > (gnulib) > macro, because they seemed like unnecessary macrology. But now that > _GL_GNUC_PREREQ filters out the lying clang binaries, this macro helps > keeping the code small. Thanks for working on this. I am a bit surprised that OpenMandriva didn't ever report

Re: OpenMandriva

2024-08-27 Thread Bruno Haible
> > > Fix compilation errors with clang that masquerades as gcc 13. > > > > And here is a patch that fixes the clang warnings that appear to be caused > > by this version of __GNUC__. > > And here is a patch that avoids a test failure. Other than that, I'm reviewing the other remaining occurre

Re: OpenMandriva

2024-08-26 Thread Bruno Haible
> > Fix compilation errors with clang that masquerades as gcc 13. > > And here is a patch that fixes the clang warnings that appear to be caused > by this version of __GNUC__. And here is a patch that avoids a test failure. gcc >= 8 generates correct floating point comparisons, gcc 4.2 and cl

Re: OpenMandriva

2024-08-26 Thread Bruno Haible
I did: > Fix compilation errors with clang that masquerades as gcc 13. And here is a patch that fixes the clang warnings that appear to be caused by this version of __GNUC__. Previously I did not like the __GNUC_PREREQ (glibc) or _GL_GNUC_PREREQ (gnulib) macro, because they seemed like unne

Re: OpenMandriva

2024-08-26 Thread Collin Funk
Bruno Haible writes: > 1) The web site makes it hard to download the OS. See: > - Go to https://www.openmandriva.org/ > - Click the "Download" button. > - Now you are in a maze of twisty little hyperlinks that will not allow you > to download anything: The __GNUC__ and __GNUC_MINOR__ patch see

Re: OpenMandriva

2024-08-26 Thread Bruno Haible
Sam James wrote: > OpenMandriva Lx is what you want: > * > https://github.com/OpenMandrivaAssociation/llvm/blob/master/clang-default-newer-gnuc-version.patch OK. Here's what I found regarding this distro: 1) The web site makes it hard to download the OS. See: