<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>
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>