This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67013] Compilation error for well-formed program with empty declaration in the global namespace
- From: "anders.granlund.0 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 26 Jul 2015 12:36:52 +0000
- Subject: [Bug c++/67013] Compilation error for well-formed program with empty declaration in the global namespace
- Auto-submitted: auto-generated
- References: <bug-67013-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67013
--- Comment #2 from Anders Granlund <anders.granlund.0 at gmail dot com> ---
That comment seems to be incorrect. The c++ standard has never forbidden empty
declarations at global namespace. I think we should get a warning instead of an
error.