Re: (GNU) tools with GCC 14 and Clang-{15,16}

"Greg A. Woods" <[email protected]> Mon, 09 Sep 2024 12:35:46 -0700
Newsgroups gmane.os.netbsd.devel.toolchain
Organization Planix, Inc.
Message-ID <[email protected]>
At Mon, 9 Sep 2024 15:05:29 -0400 (EDT), Mouse <[email protected]> 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 <[email protected]>

Kelowna, BC     +1 250 762-7675           RoboHack <[email protected]>
Planix, Inc. <[email protected]>     Avoncote Farms <[email protected]>
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRuK6dmwVAucmRxuh9mfXG3eL/0fwUCZt9OEQAKCRBmfXG3eL/0
f0K7AJwP+XpxLD6iNu7ecbKvTAFRfPNyEwCg86WrPTXVQwxkl1j0t7xlr8ov6YM=
=qCJj
-----END PGP SIGNATURE-----