This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70528] [5/6 Regression] bogus error: constructor required before non-static data member
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 04 Apr 2016 12:52:10 +0000
- Subject: [Bug c++/70528] [5/6 Regression] bogus error: constructor required before non-static data member
- Auto-submitted: auto-generated
- References: <bug-70528-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70528
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
In PR58328 there is no explicit ctor at all, in this case the source actually
has
K() = default;
With
K() {}
it works.