While investigating PR libstdc++/78979, it turns out that Solaris
incorrectly declares std::gets even for C++14 where it's been
removed. This patch fixes that by adding an additional __cplusplus <
201402L guard via fixincludes. This works for Solaris 12 (and 11), but
Solaris 10 declares the func
Rainer Orth writes:
> While investigating PR libstdc++/78979, it turns out that Solaris
> incorrectly declares std::gets even for C++14 where it's been
> removed. This patch fixes that by adding an additional __cplusplus <
> 201402L guard via fixincludes. This works for Solaris 12 (and 11), bu