I see you haven't committed this change to CVS on Savannah yet, so I'll
comment based the diff you emailed.
On 10/14/24 22:02, Richard Stallman wrote:
+GCC, you shou;d generally not require newer Standard C features in
shou;d -> should
+Don't ever use features that GCC
+does not support -- the main target compiler for GNU packages in C i
+sGCC.
i sGCC -> is GCC
More importantly, this guideline is too strong as stated. For example,
although GCC does not support the __clang_major__ preprocessor variable
which specifies the Clang version, it is OK for GNU code to use that
variable, e.g., in a line "#if __GNUC__ >= 4 || __clang_major__ >= 4"
when deciding whether to use a feature that GCC 4+ and Clang 4+ both
support. I suggest replacing the above with the following, which I
expect reflects the intent better.
"The main target compiler for GNU packages in C is GCC, so don't ever
use features that GCC does not support, in a way that would cause users
to prefer using compilers other than GCC."
+Until the 202s, that was the way to get the most portability to
+different copilers. But not any more.
202s -> 2020s
copilers -> compilers