[Bug c++/89486] GCC fails to compile designated initializer use involving implicit conversion
harald at gigawatt dot nl
gcc-bugzilla@gcc.gnu.org
Mon Feb 25 09:04:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89486
Harald van Dijk <harald at gigawatt dot nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |harald at gigawatt dot nl
--- Comment #1 from Harald van Dijk <harald at gigawatt dot nl> ---
This is a duplicate of #71446. As the error message hints, {.b = nullptr} is
treated as just {nullptr} here, so it attempts to initialise a rather than b.
More information about the Gcc-bugs
mailing list