Incrementa il livello di warning del tuo compilatore:
codice:$ gcc --version i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367) $ gcc -Wall -ansi -pedantic -Wextra -Wconversion main.c main.c: In function 'main': main.c:13: warning: format '%d' expects type 'int *', but argument 2 has type 'unsigned int *' main.c:21: warning: format '%d' expects type 'int *', but argument 2 has type 'int' main.c:24: warning: passing argument 1 of 'pow' as floating rather than integer due to prototype main.c:24: warning: passing argument 2 of 'pow' as floating rather than integer due to prototype main.c:26: warning: passing argument 1 of 'estrbit' as unsigned due to prototype main.c:30: warning: passing argument 1 of 'pow' as floating rather than integer due to prototype main.c:30: warning: passing argument 2 of 'pow' as floating rather than integer due to prototype main.c:33: warning: passing argument 1 of 'estrbit' as unsigned due to prototype

Rispondi quotando