( zeller | 2010. 08. 26., cs – 09:03 )

ANSI-val természetesen nem müx:


$ uname.exe -a ; echo; gcc -ansi -Wall korn.c -o korn.exe ; echo;./korn.exe
CYGWIN_NT-5.1 mazsola 1.7.6(0.230/5/3) 2010-08-16 16:06 i686 Cygwin

korn.c:1: warning: return type defaults to `int'
korn.c: In function `main':
korn.c:1: warning: implicit declaration of function `printf'
korn.c:1: error: `unix' undeclared (first use in this function)
korn.c:1: error: (Each undeclared identifier is reported only once
korn.c:1: error: for each function it appears in.)

bash: ./korn.exe: No such file or directory