This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/51785] gets not anymore declared
- 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: Sun, 05 Feb 2012 21:00:36 +0000
- Subject: [Bug libstdc++/51785] gets not anymore declared
- Auto-submitted: auto-generated
- References: <bug-51785-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51785
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-02-05 21:00:36 UTC ---
(In reply to comment #6)
> Yeah, IMHO the removal of gets (== ::gets) for _GNU_SOURCE is very much
> intentional. C++ probably only talks about std::gets, doesn't it?
No, std::gets must be declared by <cstdio> and ::gets must be declared by
<stdio.h>