Comment 2 for bug 1620181

Revision history for this message
Jeffrey Walton (noloader) wrote :

This is kind of interesting from Stack Overflow (http://stackoverflow.com/q/17775390):

<BEGIN SNIP>
This note in the gets manpage looks relevant:

    ISO C11 removes the specification of gets() from the C language, and since version 2.16, glibc header files don't expose the function declaration if the _ISOC11_SOURCE feature test macro is defined.

Probably should be:

#if !_ISOC11_SOURCE
using ::gets;
#endif
<END SNIP>