1
emptyhua 2013-08-19 21:25:07 +08:00
|
2
iweblogv2ex 2013-08-19 23:50:34 +08:00
在mac编译安装出现这个错误
gcc -Wall -pedantic -Wextra -std=gnu99 -I../lib -I./ -Ioutput_modules -O2 -g -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 -Wall -fno-strict-aliasing -W -Wfloat-equal -Wundef -Wpointer-arith -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat=2 -Wwrite-strings -Wredundant-decls -Wno-unused-but-set-variable -Wnested-externs -Wbad-function-cast -Winit-self -Wmissing-field-initializers -Waddress -Wmissing-noreturn -Wnormalized=id -Woverride-init -Wstrict-overflow=1 -Wextra -Warray-bounds -Wstack-protector -Wformat -Wformat-security -Wpointer-sign -Wno-format-nonliteral -Wno-format-y2k -Werror -c -o constraint.o ../lib/constraint.c cc1: error: unrecognized command line option "-Wno-unused-but-set-variable" cc1: error: unrecognized command line option "-Warray-bounds" make: *** [constraint.o] Error 1 求解决.... |
3
xiaket 2013-08-20 09:52:51 +08:00
@iweblogv2ex 编译选项改过也没法编过, 依赖glibc里的一些header文件, Mac下应该是没办法绕过的.
|