https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92826

--- Comment #7 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to kim.walisch from comment #0)
> GCC should definitely not warn when using constants from <quadmath.h>. GCC
> should also provide an option to disable these warnings (e.g.
> -Wno-non-standard-suffix). People are currently using disgusting hacks to
> avoid these warnings so please add an option for that.

Also, adding a new warning option is relatively easy:

1. Add the option to gcc/c-family/c.opt
2. Edit the point of the warning to use the new option
3. Add documentation for the option in gcc/doc/invoke.texi
4. Add/update existing tests to test for the option

See also:
https://gcc.gnu.org/wiki/GettingStarted#Basics:_Contributing_to_GCC_in_10_easy_steps

Reply via email to