https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78979
--- Comment #7 from Rainer Orth <ro at gcc dot gnu.org> --- Author: ro Date: Mon Jan 30 16:01:11 2017 New Revision: 245032 URL: https://gcc.gnu.org/viewcvs?rev=245032&root=gcc&view=rev Log: Only declare gets for C++ < 2014 on Solaris (PR libstdc++/78979) Backport from mainline 2017-01-13 Rainer Orth <r...@cebitec.uni-bielefeld.de> PR libstdc++/78979 * inclhack.def (solaris_gets_c11, solaris_gets_cxx14) (solaris_std_gets_cxx14, solaris_stdlib_noreturn): New fixes. * fixincl.x: Regenerate. * tests/base/iso/stdio_iso.h [SOLARIS_GETS_C11_CHECK, SOLARIS_GETS_CXX14_CHECK, SOLARIS_STD_GETS_CXX14_CHECK, SOLARIS_STDLIB_NORETURN_CHECK]: New tests. Added: branches/gcc-6-branch/fixincludes/tests/base/iso/stdlib_c99.h Modified: branches/gcc-6-branch/fixincludes/ChangeLog branches/gcc-6-branch/fixincludes/fixincl.x branches/gcc-6-branch/fixincludes/inclhack.def branches/gcc-6-branch/fixincludes/tests/base/iso/stdio_iso.h branches/gcc-6-branch/fixincludes/tests/base/stdio.h