From: Tony S. <tsh...@os...> - 2007-04-15 22:00:38
|
> gcc -v Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.6 [FreeBSD] 20060305 Michal Ludvig wrote: > 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 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Mysqlfs-general mailing list > Mys...@li... > https://lists.sourceforge.net/lists/listinfo/mysqlfs-general |