At Mon, 9 Sep 2024 15:05:29 -0400 (EDT), Mouse <mouse%Rodents-Montreal.ORG@localhost> wrote: Subject: Re: (GNU) tools with GCC 14 and Clang-{15,16} > > > BTW, I have confirmed that GCC ignores "-Wno-*" options where the > > option is unknown or invalid, > > Trivial-in-practice nit: this actually depends on the gcc version; > old-enough gcc gets upset over such options. (I don't know when the > "old enough" point is, but I feel reasonably confident it is older than > you care about, which is why I called this what I did.) From the online manuals it would seem 4.6.4 is the first to explicitly mention that "No diagnostic will be produced for -Wno-unknown-warning" And yes, I think anything before that is far too old to be worried about supporting. 4.6.4 is already 13 major releases, and nearly 14 years, old! -- 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:
pgpyWwY5RACGf.pgp
Description: OpenPGP Digital Signature