nginx-module-vts icon indicating copy to clipboard operation
nginx-module-vts copied to clipboard

I encountered the following Syntax error while compiling the vts source code in windows environment

Open ijanetyuan2017 opened this issue 2 years ago • 2 comments

I encountered the following Syntax error while compiling the vts source code. like this: image

my nginx source code version :nginx-branches-stable-1.24. vts source code version : nginx-module-vts-0.2.2. openssl version: openssl-1.1.1m. pre version : pcre-8.45. strawberry-perl-5.32.1.1-64bit zlib version : zlib-1.3 the errors like : 1:The identifier "ngx_http_vhost_traffic_status_escape_json" on line 16 of the file ngx_http_vhost_traffic_status_string.h has a syntax error. syntax error is ';' 2 : on line 16 Missing ")" (before "*"). Has anyone encountered the same error? Please kindly share your advice.

ijanetyuan2017 avatar Oct 17 '23 03:10 ijanetyuan2017

image sorry this is error code source file

ijanetyuan2017 avatar Oct 17 '23 03:10 ijanetyuan2017

@ijanetyuan2017 Sorry for late comment. We're not sure what happened on your local code. We consider that remote repository doesn't have any problem because the latest CI had passed.

https://github.com/vozlt/nginx-module-vts/actions/runs/7370209846/job/20056318860

Do you find any difference between your code and remote repository code?

% git remote get-url upstream
https://github.com/vozlt/nginx-module-vts
% git diff upstream/master
...

u5surf avatar Dec 31 '23 11:12 u5surf