You can rewrite haproxy with Lua. It was announced one year and one
day ago. It’s time ... :-)

Thierry

-

> On 1 Apr 2018, at 23:24, Willy Tarreau <[email protected]> wrote:
> 
> Can someone tell me how I'm supposed to work around this one ?
> 
> gcc -Iinclude -Iebtree -Wall  -O2 -march=native -g -fno-strict-aliasing 
> -Wdeclaration-after-statement -fwrapv -fno-strict-overflow    
> -Wno-unused-label  -DBUFSIZE=8030 -DMAXREWRITE=1030 -DSO_MARK=36    
> -DCONFIG_HAP_LINUX_SPLICE -DTPROXY -DCONFIG_HAP_LINUX_TPROXY 
> -DCONFIG_HAP_CRYPT -DUSE_ZLIB  -DENABLE_POLL -DENABLE_EPOLL 
> -DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS -DUSE_ACCEPT4 -DNETFILTER 
> -DUSE_THREAD -DUSE_OPENSSL  -DUSE_SYSCALL_FUTEX -DUSE_PCRE -I/usr/include  
> -DCONFIG_HAPROXY_VERSION=\"1.9-dev0-495298-299\" 
> -DCONFIG_HAPROXY_DATE=\"2018/03/21\" \
>      -DBUILD_TARGET='"linux2628"' \
>      -DBUILD_ARCH='""' \
>      -DBUILD_CPU='"native"' \
>      -DBUILD_CC='"gcc"' \
>      -DBUILD_CFLAGS='"-O2 -march=native -g -fno-strict-aliasing 
> -Wdeclaration-after-statement -fwrapv -fno-strict-overflow -Wno-unused-label 
> -DBUFSIZE=8030 -DMAXREWRITE=1030 -DSO_MARK=36"' \
>      -DBUILD_OPTIONS='"USE_ZLIB=1 USE_OPENSSL=1 USE_PCRE=1"' \
>       -c -o src/haproxy.o src/haproxy.c
> 
> src/haproxy.c:1:1: warning: gcc has detected the presence of C code in this 
> file. This language is potentially unsafe as it lets the developer do things 
> that the compiler doesn't understand. Please upgrade to a new language, 
> support will be deprecated in gcc-9. [-Wc-deprecated].
> 
> Thanks,
> Willy
> 


Reply via email to