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 :)
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 :)