r240672 - in /trunk/libstdc++-v3: ChangeLog aci...

redi@gcc.gnu.org redi@gcc.gnu.org
Fri Sep 30 18:28:00 GMT 2016


Author: redi
Date: Fri Sep 30 18:28:53 2016
New Revision: 240672

URL: https://gcc.gnu.org/viewcvs?rev=240672&root=gcc&view=rev
Log:
libstdc++/77795 Only declare ::gets for C++98 and C++11

	PR libstdc++/77795
	* acinclude.m4 (GLIBCXX_CHECK_STDIO_PROTO): Use -std=gnu++11 to check
	for gets.
	* config.h.in: Regenerate.
	* configure: Regenerate.
	* include/c_global/cstdio [!_GLIBCXX_HAVE_GETS] (gets): Only declare
	for C++98 and C++11.
	* include/c_std/cstdio [!_GLIBCXX_HAVE_GETS] (gets): Likewise.
	* testsuite/27_io/headers/cstdio/functions_neg.cc: New test.

Added:
    trunk/libstdc++-v3/testsuite/27_io/headers/cstdio/functions_neg.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/acinclude.m4
    trunk/libstdc++-v3/config.h.in
    trunk/libstdc++-v3/configure
    trunk/libstdc++-v3/include/c_global/cstdio
    trunk/libstdc++-v3/include/c_std/cstdio



More information about the Libstdc++-cvs mailing list