|
From: Michal L. <mi...@lo...> - 2007-04-15 21:57:44
|
Tony Shadwick wrote: >>> query.c: In function `query_utime': >>> query.c:439: warning: long int format, time_t arg (arg 4) >>> query.c:439: warning: long int format, time_t arg (arg 5) >>> query.c:439: warning: long int format, time_t arg (arg 4) >>> query.c:439: warning: long int format, time_t arg (arg 5) >>> gmake[1]: *** [query.o] Error 1 >>> gmake[1]: Leaving directory `/usr/local/src/mysqlfs-0.4.0-rc1' >>> gmake: *** [all] Error 2 >>> >>> The code section it's complaining about is below. The last line is line >>> 439. What GCC version have you got on your FreeBSD? > Nevermind, I got it. Your code appears to be fine, it's just the > default CFLAGS includes -Wall -Werror. I removed the -Wall and it built > fine. Weirdness. Is this fixable? You should have removed -Werror instead (this switch turns warnings into errors) and keep -Wall to see all warnings. Some might be useful. I'll remove -Werror from default CFLAGS in future versions. Michal |