Hi Adam.

Adam Tuja wrote:
As you mentioned C99, out of curiosity I tried to compile it with -std=c99 and
the result was, to say the least, surprising. I got bunch of serious warnings
and an error.

If you choose a C standard, you also need to enable the POSIX stuff explicitly like this: '--std=c99 -D_XOPEN_SOURCE=500'

Regards,
Antonio.

Reply via email to