Menu

#5 make error query.c

open
nobody
None
5
2010-04-30
2010-04-30
Anonymous
No

2.6.32-21x86_64 GNU/Linux
...
make[2]: ./make/mysqlfs-0.3.99.2\'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/include/mysql -g -O2 -I/usr/local/include -Wall -Werror -I/usr/include/mysql -Wall -Werror -MT query.o -MD -MP -MF \".deps/query.Tpo\" -c -o query.o query.c; \\ then mv -f \".deps/query.Tpo\" \".deps/query.Po\"; else rm -f \".deps/query.Tpo\"; exit 1; fi
cc1: warnings being treated as errors
query.c: In function ‘query_truncate’:
query.c:298: error: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘off_t’
query.c:298: error: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘off_t’
query.c: In function ‘write_one_block’:
query.c:795: error: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
query.c:795: error: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘off_t’
query.c:799: error: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘long unsigned int’
query.c:799: error: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘long unsigned int’
make[2]: *** [query.o] Error 1

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.