This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77477] error recovery for explicit qualification
- 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, 06 Sep 2016 09:53:22 +0000
- Subject: [Bug c++/77477] error recovery for explicit qualification
- Auto-submitted: auto-generated
- References: <bug-77477-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77477
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|error-recovery |diagnostic
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Oh actually even then it isn't valid, because you use size_t but don't include
<stddef.h> or anything that is guaranteed to define size_t in the global
namespace. You should #include <stddef.h> or use std::size_t instead.