[Bug c++/92659] Suggestions for bitshift

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 26 15:57:00 GMT 2019


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

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to David Brown from comment #6)
> All in all, the whole idea sounds counter-productive to me.  If you need
> spoon-feeding about the details of C here, you would be better off reading a
> book on the language than using trial and error and guessing from compiler
> messages.  And if you don't need spoon-feeding but just made a little
> mistake in your code (as we all do on occasion), then the current warning is
> fine.

^ This.


More information about the Gcc-bugs mailing list