[Bug c++/60517] warning/error for taking address of member of a temporary object

fredrik.hederstierna@securitas-direct.com gcc-bugzilla@gcc.gnu.org
Mon Jul 24 11:01:00 GMT 2017


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

--- Comment #20 from Fredrik Hederstierna <fredrik.hederstierna@securitas-direct.com> ---
Simplest fix might be something like?
- else
+ else if (access->grp_no_warning)
so we do not always suppress warnings, but name will look funny for temp.


More information about the Gcc-bugs mailing list