[squid-users] compiler Error
joseph
chip_pop at hotmail.com
Wed Aug 1 21:49:24 UTC 2018
ya gcc 8 is paranoid strict every one know that i disable
-Wno-maybe-uninitialized
got more and more and now gcc8 is standard in debian so yadij know all
about he start converting code hoop he will continue spetial the bad one
pconn.cc: In member function ‘void PconnPool::push(const
ConnectionPointer&, const char*)’:
pconn.cc:435:32: error: ‘%s’ directive output may be truncated writing
up to 777 bytes into a region of size 51 [-Werror=format-truncation=]
snprintf(desc, FD_DESC_SZ, "Idle server: %s", aKey);
^~~~~~~~~~~~~~~~~
pconn.cc:435:13: note: ‘snprintf’ output between 14 and 791 bytes into a
destination of size 64
snprintf(desc, FD_DESC_SZ, "Idle server: %s", aKey);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----
**************************
***** Crash to the future ****
**************************
--
Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html
More information about the squid-users
mailing list