[Bug libstdc++/51785] gets not anymore declared
marc.glisse at normalesup dot org
gcc-bugzilla@gcc.gnu.org
Tue Feb 28 15:51:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51785
--- Comment #12 from Marc Glisse <marc.glisse at normalesup dot org> 2012-02-28 15:47:04 UTC ---
(In reply to comment #10)
> If the libstdc++ people are going to do something for 4.7, it really needs
> to be done very soon.
The question is: what do the glibc people want? By removing the gets prototype,
they are explicitly going against the C++ standard. Seems to me that libstdc++
should respect that choice (add a test in configure to see if gets is provided,
and protect "using ::gets;" with #ifdef) and not provide gets. The alternative
is to disagree with the glibc developers and fixinclude stdio.h.
More information about the Gcc-bugs
mailing list