tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: Fixing configure failures from newer gcc
the problem with the "use -std=" advice is that it does not help the
new problems GCC 14 is turning into error cases.
ie, this is not that GCC changed their default target, it is that
they changed the default for several warnings into errors. GCC 15
will turn on C23 mode fully, so that's a separate issue to deal with
but it's not really valid to say "don't use -Wno-" when that is the
only real solution besides fixing the code itself.
generally, using correct -std is a good idea, but it does not help
with the vast majority of the GCC 14 problems. (actually, some of
them occur with the wrong -std -- eg, c99 when you actually use
gnu99, and a function is hidden in the headers, so the right fix is
to use the right -std..)
.mrg.
Home |
Main Index |
Thread Index |
Old Index