-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot compile at gcc version: 4.7.2 with cc-opt=-O3 #383
Comments
Smart compile! It seems the problem is in |
I had reviews the code for ngx_http_find_virtual_server, it seems works fine. But I dont know why it will cause fail. --- a/src/http/ngx_http_request.c 2014-01-08 20:24:46.000000000 +0800
hc = r->http_connection; But I think this fix way is incorrent, so I haven't commit it. |
In the function |
Here is the code after preprocess
|
OK, I saw the code path below, it should be OK. It seems a negative warning. Should I close this issue. It should be the compile's problem. |
Cannot compile at gcc version: 4.7.2 (Debian 4.7.2-5)
./configure --with-cc-opt=-O3 && make
src/http/ngx_http_request.c: In function ‘ngx_http_set_virtual_server’:
src/http/ngx_http_request.c:2109:32: error: ‘cscf’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
The text was updated successfully, but these errors were encountered: