[Libwebsockets] build failure - f77e6e33d1

Andy Green andy at warmcat.com
Thu May 22 05:16:23 CEST 2014



On Thu, May 22, 2014 at 5:24 AM, Michael Haberler <mail17 at mah.priv.at> 
wrote:
> commit f77e6e33d110a6692cfb50c90efd77ffc376c766
> Author: kolis <g1m0.kolis at gmail.com>
> Date:   Mon May 19 14:40:50 2014 +0200
>     Partial send handling
>     
>     AG removed what looked like redundant set eff_buf.token_len <- n
> 
> gcc --version
> gcc (Debian 4.8.2-16) 4.8.2
> debian jessie
> 
> build fails with:

Thanks Michael, fixed here

http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/commit/?id=dfca3abfa1da9bf6b0eac53ca11baa115f9ce1d4

-Andy

> 
> 
> [ 36%] Building C object CMakeFiles/websockets.dir/lib/extension.c.o
> In file included from 
> /home/mah/src/libwebsockets-warmcat/lib/private-libwebsockets.h:170:0,
>                  from 
> /home/mah/src/libwebsockets-warmcat/lib/extension.c:1:
> /home/mah/src/libwebsockets-warmcat/lib/extension.c: In function 
> ‘lws_issue_raw_ext_access’:
> /home/mah/src/libwebsockets-warmcat/lib/libwebsockets.h:122:34: 
> error: ‘n’ may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>  #define lwsl_parser(...) _lws_log(LLL_PARSER, __VA_ARGS__)
>                                   ^
> /home/mah/src/libwebsockets-warmcat/lib/extension.c:104:6: note: 
> ‘n’ was declared here
>   int n;
>       ^
> cc1: all warnings being treated as errors
> make[2]: *** [CMakeFiles/websockets.dir/lib/extension.c.o] Error 1
> make[1]: *** [CMakeFiles/websockets.dir/all] Error 2
> make: *** [all] Error 2
> 
> - Michael
> 
> 
> _______________________________________________
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
> http://ml.libwebsockets.org/mailman/listinfo/libwebsockets
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20140522/92a36364/attachment-0001.html>


More information about the Libwebsockets mailing list