Initial review request of a warning patch in math.h
Florian Weimer
fweimer@redhat.com
Tue Aug 25 14:45:31 GMT 2020
* Krystian Kuźniarek via Libc-help:
> I found a very trivial warning about a training comma at the end of
> enumerator list. This generates a warning both on GCC and Clang since a
> trailing comma thing is a C99/C++11 extension.
>
> Enclosed you'll find a one-liner patch. Please let me know if this has any
> chance of being submitted.
I think the question is why one would use a C2X extension in a pre-C99
mode. As far as I can tell, this is a rather odd combination.
Thanks,
Florian
More information about the Libc-help
mailing list