coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
514 stars 257 forks source link

Error when compiling #509

Open skilo83 opened 4 years ago

skilo83 commented 4 years ago

redir.c:2499:24 error %s directive output may be truncated writing up to 2047 bytes into a region of size between 1529 and 2040 [Werror=format-truncation=] http://%s/%s%s%s

compiling on Ubuntu 18.04.1

rexy74 commented 4 years ago

Have the same error :

redir.c: In function 'redir_main': redir.c:2499:24: error: '%s' directive output may be truncated writing up to 2047 bytes into a region of size between 1529 and 2040 [-Werror=format-truncation=] "http://%s/%s%s%s", (the forth '%s') cc1: all warnings being treated as errors

compiling on mageia7.1 for ALCASAR project