[Bug c/60523] Warning flag for octal literals

david at westcontrol dot com gcc-bugzilla@gcc.gnu.org
Fri Mar 14 11:31:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60523

--- Comment #5 from David Brown <david at westcontrol dot com> ---
I agree that warnings to match something like the MISRA coding standards would
be best done as a plugin.

But I believe that in this case, warning on octal literals would be quite a
small addition to the main gcc code.  I am not familiar enough with the gcc
source code to implement it myself (like many people, I blame lack of time) - I
therefore registered this enhancement request in the hope that someone was /is/
familiar with this part of gcc would be able to make the change quickly and
easily.



More information about the Gcc-bugs mailing list