oy/teeworlds — Issue #907: Compiler warnings
Author: Sworddragon
Created: 2011-12-31 18:09:07+00:00
State: open

On Linux 64 bit with GCC 4.6.2 I get:

>[ 30/159] #1 c src/engine/external/zlib/gzread.c
src/engine/external/zlib/gzread.c: In function ‘gz_load’:
src/engine/external/zlib/gzread.c:31:9: warning: implicit declaration of function ‘read’ [-Wimplicit-function-declaration]
src/engine/external/zlib/gzread.c: In function ‘gzclose_r’:
src/engine/external/zlib/gzread.c:650:5: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration]
[ 36/159] #1 c src/engine/external/zlib/gzwrite.c
src/engine/external/zlib/gzwrite.c: In function ‘gz_comp’:
src/engine/external/zlib/gzwrite.c:79:13: warning: implicit declaration of function ‘write’ [-Wimplicit-function-declaration]
src/engine/external/zlib/gzwrite.c: In function ‘gzclose_w’:
src/engine/external/zlib/gzwrite.c:528:5: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration]
[ 37/159] #1 c src/engine/external/zlib/gzlib.c
src/engine/external/zlib/gzlib.c: In function ‘gz_open’:
src/engine/external/zlib/gzlib.c:184:9: warning: implicit declaration of function ‘lseek’ [-Wimplicit-function-declaration]