Mercurial > hg > nginx
comparison auto/types/typedef @ 4559:62d8db8c7157
Fixed more gcc46 warnings in configure tests.
Steps to reproduce:
./configure --with-cc="gcc46" --with-cc-opt="-Wall -Werror -O2"
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 27 Mar 2012 16:44:52 +0000 |
parents | 51744fa997c7 |
children | 434548349838 |
comparison
equal
deleted
inserted
replaced
4558:8865fd1f3aa5 | 4559:62d8db8c7157 |
---|---|
26 #include <sys/resource.h> | 26 #include <sys/resource.h> |
27 #include <netinet/in.h> | 27 #include <netinet/in.h> |
28 $NGX_INCLUDE_INTTYPES_H | 28 $NGX_INCLUDE_INTTYPES_H |
29 | 29 |
30 int main() { | 30 int main() { |
31 $ngx_try i; | 31 $ngx_try i = 0; |
32 i = 0; | 32 return (int) i; |
33 return 0; | |
34 } | 33 } |
35 | 34 |
36 END | 35 END |
37 | 36 |
38 ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ | 37 ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ |