http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51785

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu.org

--- Comment #21 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-01 
13:44:39 UTC ---
Wouldn't an unconditional

#if _GNU_SOURCE
  extern char *gets (char *__s);
  using ::gets;
#endif

work as well?

alternatively the FE could provide a language extension that would allow

  __using_if_available ::gets;

;)

Anyway, we don't need to rush anything for 4.7.0, fixing this for 4.7.1
and in a correct way is enough IMHO.

Reply via email to