At Mon, 20 Oct 2025 09:28:58 +1100, matthew green <mrg%eterna23.net@localhost> wrote: Subject: 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. > > > > I'm pretty sure it does actually. > > i jusp spend several weeks dealing with this issue, maybe you could > trust me on it. for instance: You didn't follow the directions fully. Your example works fine with "-std=c89", or some alias for that: c90, iso9899:1990, -ansi. Also with iso9899:199409, gnu89 and gnu90. You have to tell the compiler the maximum level the code has been written for/to/at, and if that's c90, well that's c90 and no more. -- Greg A. Woods <gwoods%acm.org@localhost> Kelowna, BC +1 250 762-7675 RoboHack <woods%robohack.ca@localhost> Planix, Inc. <woods%planix.com@localhost> Avoncote Farms <woods%avoncote.ca@localhost>
Attachment:
pgpiRiHWdvyeS.pgp
Description: OpenPGP Digital Signature