[Bug c/60523] Warning flag for octal literals [-Woctal-literals]

david at westcontrol dot com gcc-bugzilla@gcc.gnu.org
Tue Oct 29 08:11:00 GMT 2019


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

--- Comment #10 from David Brown <david at westcontrol dot com> ---
(In reply to Eric Gallager from comment #9)
> (In reply to Eric Gallager from comment #8)
> > *** Bug 70952 has been marked as a duplicate of this bug. ***
> 
> While this was a mistake, it still might be worth grouping the flag proposed
> in that bug, -Woctal-escapes, and the flag proposed in this bug,
> -Woctal-literals, under an umbrella flag called just -Woctal

That makes a lot of sense.  I expect users who want one of these warnings would
want both, so combining them would save effort for users and gcc developers.


More information about the Gcc-bugs mailing list