https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124183
Dominick Woughter <woughter.dominick at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #63733|0 |1
is obsolete| |
--- Comment #1 from Dominick Woughter <woughter.dominick at gmail dot com> ---
Created attachment 63734
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63734&action=edit
main.cpp - updated
The original example code had some issues. This one still produces those
warnings, while being more "correct".