tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Fixing configure failures from newer gcc
On Sat, 18 Oct 2025 at 19:33, Greg Troxel <gdt%lexort.com@localhost> wrote:
>
> That was a very long message, but I think it boils down to "it's wrong
> to compile a C99 program with a C23 compiler".
> I stand by my statement that a program written in CNN should, as part
> of its configure (or whatever) probe for and add --std=cNN to CFLAGS,
> whether NN is old, normal, or new.
Except programs, are not written to a language standard. They are
written to a combination of the available compilers, libraries, and
coding standards. And that is a constantly moving target that doesn't
say in the --std=cNN box.
(and don't get me started on configure and hopelessly magical system detection)
Home |
Main Index |
Thread Index |
Old Index