The function infinite()
is part of C99. Your compiler is by default using an older version of the C language. You need to compile with the the flag -std=c99
to enable this macro.
`gnu89' GNU dialect of ISO C90 (including some C99 features). This is the default for C code.
http://gcc.gnu.org/onlinedocs/gcc-4.3.3/gcc/C-Dialect-Options.html