happyfish100 / fastdfs

FastDFS is an open source high performance distributed file system (DFS). It's major functions include: file storing, file syncing and file accessing, and design for high capacity and load balance. Wechat/Weixin public account (Chinese Language): fastdfs
GNU General Public License v3.0
8.97k stars 1.98k forks source link

nginx 1.20.0 版本的fast_nginx_module 求一个 #636

Open baimingl opened 1 year ago

baimingl commented 1 year ago
nginx添加模块报错 /home/aaa/fastdfs-nginx-module/src/common.c:1162:58: error: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘FDFSStorePathInfo’ [-Werror=format=] 1162 sizeof(full_filename), "%s/data/%s", \ ~^
char *
1163 pStorePaths->paths[store_path_index], \
~~~~~~~~
FDFSStorePathInfo

cc1: all warnings being treated as errors make[1]: *** [objs/Makefile:1552: objs/addon/src/ngx_http_fastdfs_module.o] Error 1

happyfish100 commented 1 year ago

fastdfs使用最新的6.9.4,fastdfs-nginx-module 使用master分支即可