Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all articles
Browse latest Browse all 7239

compile problem in arch using mysql5.1.61 (no replies)

$
0
0
here is info,i do not know why,anyone can help?
thanks

gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-aliasing -Werror -Wdeclaration-after-statement -g -DSAFE_MUTEX -g -O2 -DUNIV_LINUX -DUNIV_LINUX -MT map.o -MD -MP -MF .deps/map.Tpo -c -o map.o map.c
cc1: warnings being treated as errors
map.c: In function ‘map_bind’:
map.c:1303:9: error: format ‘%c’ expects type ‘int’, but argument 4 has type ‘wchar_t’
make[2]: *** [map.o] Error 1
make[2]: Leaving directory `/root/download/mysql-5.1.61/cmd-line-utils/libedit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/download/mysql-5.1.61/cmd-line-utils'
make: *** [all-recursive] Error 1

===========
i solve this by close Werror option,now everything is fine :)

Viewing all articles
Browse latest Browse all 7239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>