r240674 - in /branches/gcc-6-branch/libstdc++-v...

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


Author: redi
Date: Fri Sep 30 18:29:24 2016
New Revision: 240674

URL: https://gcc.gnu.org/viewcvs?rev=240674&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:
    branches/gcc-6-branch/libstdc++-v3/testsuite/27_io/headers/cstdio/functions_neg.cc
Modified:
    branches/gcc-6-branch/libstdc++-v3/ChangeLog
    branches/gcc-6-branch/libstdc++-v3/acinclude.m4
    branches/gcc-6-branch/libstdc++-v3/config.h.in
    branches/gcc-6-branch/libstdc++-v3/configure
    branches/gcc-6-branch/libstdc++-v3/include/c_global/cstdio
    branches/gcc-6-branch/libstdc++-v3/include/c_std/cstdio



More information about the Libstdc++-cvs mailing list