Tom wrote:
David Levine <levinedl(_at_)acm(_dot_)org> writes:
Ralph wrote:
I've since overridden configure's CFLAGS to add `-pedantic
-ansi', but I wonder if m4/cppflags.m4 should attempt these
and add them if they work?
We used to do this, but I removed them in commit 987b10b3. My
thinking was that CFLAGS is up to the user. I still think that's
the right thing to do. We do add -Wall -Wextra with gcc but those
don't cause compilation failure (and I've thought about removing
them).
Note that '-ansi -pedantic' produces warnings about all constructs that
aren't in C89, which is a much harsher restriction than has any real-world
relevance today.
We're just trying to cater to a least common denominator. Note
that -ansi -pedantic is no longer our configure, it's just in our
personal builds.
David
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers