[sr-dev] [kamailio/kamailio] master: failed build on CentOS7 (#2146)

sergey-safarov notifications at github.com
Sun Nov 24 05:27:40 CET 2019


```
redis_dbase.c: In function 'db_redis_scan_query_keys':                                                                     
redis_dbase.c:1086:5: error: 'for' loop initial declarations are only allowed in C99 mode                                  
     for (redis_key_t *set_key = set_keys; set_key; set_key = set_key->next) {                                             
     ^                                                                                                                     
redis_dbase.c:1086:5: note: use option -std=c99 or -std=gnu99 to compile your code                                         
make[2]: *** [redis_dbase.o] Error 1                                                                                       
make[1]: *** [modules] Error 1                                                                                             
make[1]: Leaving directory `/root/rpmbuild/BUILD/kamailio-5.4.0-dev2/src'                                                  
make: *** [every-module] Error 2 
```
Looks as need similar fix like daa86b204d3030e2abb2f2459aa348998b982ae2 


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2146
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191123/d6ce9aa2/attachment.html>


More information about the sr-dev mailing list