Unix下/usr/include头文件

_BEGIN_DECLS和_END_DECLS构成一对宏定义

#define __BEGIN_DECLS   extern "C" {

#define __END_DECLS     }


__THROW:

是 throw()的意思,因为有些函数需要抛出异常



[root@VM-24-11-opencloudos nginx-1.24.0]# make -j$(nproc) make -f objs/Makefile make[1]: Entering directory '/www/server/nginx/src/nginx-1.24.0' cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -Wno-error -Wformat-truncation=0 -Wformat-overflow=0 -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE='256*1024' -DFDFS_MOD_CONF_FILENAME='"/etc/fdfs/mod_fastdfs.conf"' -I src/core -I src/event -I src/event/modules -I src/os/unix -I /www/server/nginx/src/pcre-8.43 -I /www/server/nginx/src/openssl/.openssl/include -I /usr/include/libxml2 -I objs -I src/http -I src/http/modules -I src/http/v2 -I /usr/include/fastdfs -I /usr/include/fastcommon/ -I /usr/include/fastcommon -I /usr/include/libfastcommon/ -I src/stream \ -o objs/addon/src/ngx_http_fastdfs_module.o \ /usr/local/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c In file included from /usr/local/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:6: /usr/local/fastdfs-nginx-module/src/common.c: In function ‘fdfs_get_params_from_tracker’: /usr/local/fastdfs-nginx-module/src/common.c:1615:18: error: too few arguments to function ‘fdfs_get_ini_context_from_tracker’ 1615 | if ((result=fdfs_get_ini_context_from_tracker(&g_tracker_group,&iniContext,&continue_flag))!=0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/fastdfs/fdfs_client.h:14, from /usr/local/fastdfs-nginx-module/src/common.c:29: /usr/include/fastdfs/tracker_proto.h:323:5: note: declared here 323 | int fdfs_get_ini_context_from_tracker(TrackerServerGroup *pTrackerGroup, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/fastdfs-nginx-module/src/common.c:1611:11: warning: unused variable ‘error_info’ [-Wunused-variable] 1611 | char error_info[256] = {0}; // 添加错误信息缓冲区 | ^~~~~~~~~~ make[1]: *** [objs/Makefile:1662: objs/addon/src/ngx_http_fastdfs_module.o] Error 1 make[1]: Leaving directory '/www/server/nginx/src/nginx-1.24.0' make: *** [Makefile:10: build] Error 2
最新发布
06-19
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值