On 10/31/26 17:06, Lawrence D’Oliveiro wrote:
> On Sat, 31 Oct 2026 10:30:39 -0400, jayjwa wrote:
>
>> Clang whines alot on perfectly good code, but some of the graphics
>> stuff requires it. I think Mesa and also AMD ROCm.
>
> Why Clang and not GCC?
>
> Because those companies are afraid of the GPL, aren’t they?
IHMO - *both* GCC and Clang/LLVM are Very Good.
No reason for any prejudice at this time. I tend
to install 'em all by reflex. Code::Blocks can
cope with them all. Also install 'TCC' - which
is suprisingly good and creates more compact
code more quickly - but don't expect the more
'esoteric' libraries.
As for "whining" ... that seems to be a 'feature'
of the modern compilers. They are SO tuned for
"potential" issues that they pester you to death.
Let 'em have their way and half yer code would
be compiler flags and such turning off the 'whining'.
Just write solid code and you'll be fine.
It shouldn't BE this complicated ...... one reason
I mostly switched to Python .... no whining.
Python mostly IS 'C' ... all the libs are 'C' ...
just interpreted steps between lib calls - a tad
slower but much easier to deal with on many levels.