This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/51785] gets not anymore declared


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51785

--- Comment #16 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-02-28 16:42:55 UTC ---
I suppose that post 4.7.0 we have to revisit this issue anyway, because C++11
definitely wants to declare std::gets, irrespective of C11. I'm wondering if it
would be possible to just take this into account in <stdio.h>, I seem to
remember that the glibc headers in a few places already use __cplusplus, right?
We also have the __CORRECT_ISO_CPP_STRING_H_PROTO story as an example of
interaction between glibc and C++.

That said, for 4.7.0, I think that in any case we want: 1- To fully run the
testsuite on a GNU/Linux system using glibc2.15; 2- Convince ourselves that
whatever we do in the C++ library is not going to interact badly with further
tweaks at the glibc level..


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]