This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/60523] Warning flag for octal literals
- From: "david at westcontrol dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 14 Mar 2014 11:31:41 +0000
- Subject: [Bug c/60523] Warning flag for octal literals
- Auto-submitted: auto-generated
- References: <bug-60523-4 at http dot gcc dot gnu dot org/bugzilla/>
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.