重新执行sudo make && make install命令 出现-Werror=cast-function-type错误 解决方案 #进入nginx-1.12.2目录下的objs目录 cd objs #修改Makefile文件 sudo vi Makefile 1. 2. 3. 4. 重新回到nginx-1.12.2目录下执行sudo make && make install命令 make命令出现权限不够错误 进入root模式执行命令 sudo su #...
重新执行sudo make && make install命令 出现-Werror=cast-function-type错误 解决方案 Copy Highlighter-hljs #进入nginx-1.12.2目录下的objs目录 cdobjs #修改Makefile文件 sudo vi Makefile 重新回到nginx-1.12.2目录下执行sudo make && make install命令 make命令出现权限不够错误 进入root模式执行命令 Copy Hig...
出現-Werror=cast-function-type錯誤 解決方案 #進入nginx-1.12.2目錄下的objs目錄 cd objs #修改Makefile檔案 sudo vi Makefile 重新回到nginx-1.12.2目錄下執行sudo make && make install命令 make命令出現許可權不夠錯誤 進入root模式執行命令 sudo su #進入root模式 make && make install nginx啟動出現無法連線...
cast between incompatible function types from ‘size_t (*)(ngx_http_script_engine_t *)’ {aka ‘longunsignedint(*)(struct <anonymous> *)’} to ‘void(*)(ngx_http_script_engine_t *)’ {aka ‘void(*)(struct <anonymous> *)’} [-Werror=cast-function-type]1296 | code->code = (n...
:698:18: error: cast between incompatible function types from ‘size_t (*)(ngx_http_script_engine_t *)’ {aka ‘long unsigned int (*)(struct <anonymous> *)’} to ‘void (*)(ngx_http_script_engine_t *)’ {aka ‘void (*)(struct <anonymous> *)’} [-Werror=cast-function-type...
-Werror=format-security \ -Wno-deprecated-declarations \ -fno-strict-aliasing \ -D_FORTIFY_SOURCE=2 \ --param=ssp-buffer-size=4 \ -DTCP_FASTOPEN=23 \ -fPIC \ -Wno-cast-function-type" LD_OPT="-fPIE -fPIC -pie -Wl,-z,relro -Wl,-z,now" if [[ ${ARCH} != "a...
Wimplicit-fallthrough=0 -Wno-implicit-function-declaration -Wno-cast-align -Wno-builtin-declaration-mismatch -Wno-deprecated-declarations -Wno-int-conversion -Wno-unused-result -Wno-vla-parameter -Wno-maybe-uninitialized -Wno-return-local-addr -Wno-array-parameter -Wno-alloc-size-larger-than -Wno...
#pragma GCC diagnostic ignored \"-Wcast-function-type\" #endif #include <quickjs.h>" ngx_feature_path="" ngx_feature_libs="-lquickjs.lto -lm -ldl -lpthread" ngx_feature_test="JSRuntime *rt; rt = JS_NewRuntime(); (void) JS_GetClassID; JS_FreeRuntime(rt); return 0;" . auto...
Werror=format-security -Wno-pointer-sign -fcode-hoisting -Wno-cast-function-type -Wno-format-extra-args -Wimplicit-fallthrough=0 -Wno-implicit-function-declaration -Wno-int-conversion -Wno-error=unused-result -Wno-unused-result -Wno-error=vla-parameter -Wp,-D_FORTIF...
c:1296:18: error: cast between incompatible function types from 'size_t (*)(ngx_http_script_engine_t *)' {aka 'long unsigned int (*)(struct <anonymous> *)'} to 'void (*)(ngx_http_script_engine_t *)' {aka 'void (*)(struct <anonymous> *)'} [-Werror=cast-function-type] ...