This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67113] unintelligent error message "only declarations of constructors can be 'explicit'" in cpp file's constructor define.
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 04 Aug 2015 11:50:33 +0000
- Subject: [Bug c++/67113] unintelligent error message "only declarations of constructors can be 'explicit'" in cpp file's constructor define.
- Auto-submitted: auto-generated
- References: <bug-67113-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67113
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |5.0
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This is already fixed anyway, gcc 5 says:
a.cc:5:15: error: âexplicitâ outside class declaration