Cygwin c compiler and c99

David dbj@vip.cybercity.dk
Sun Oct 31 14:40:00 GMT 2010


Your result is right but I get

$ gcc -O -Wall -pedantic -std=c99 testC.c
testC.c: In function 'main':
testC.c:15: error: 'bool' undeclared (first use in this function)
testC.c:15: error: (Each undeclared identifier is reported only once
testC.c:15: error: for each function it appears in.)
testC.c:15: error: expected ';' before 'f'
testC.c:17: error: 'f' undeclared (first use in this function)


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list