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 #15 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-28 16:18:30 UTC ---
Ideally, when using
#define _GNU_SOURCE
#include <stdio.h>

in a C++ program ::gets wouldn't be available (the _GNU_SOURCE requests GNU
namespace rather than standard C++ one), but when using
#include <list>
#include <stdio.h>
it would provide it (with deprecated attribute), because then the user didn't
request _GNU_SOURCE.  But for that we'd need some new macro to request
additional prototype for STL needs.


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