diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-09-30 18:29:24 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-09-30 18:29:24 +0000 |
commit | c81bdb40f857f1db8b00c0ea62ed6b8f7b9c2cac (patch) | |
tree | e32f4c0f13dc0bfbf8bcf035ed732f8bbd76829e /libtool.m4 | |
parent | 1969d1bc6b10522a5abdb3dda73ede2765a905aa (diff) | |
download | gcc-c81bdb40f857f1db8b00c0ea62ed6b8f7b9c2cac.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@240674 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libtool.m4')
0 files changed, 0 insertions, 0 deletions