[asterisk-dev] Tons of warnings compiling Asterisk 16.24.1

Dennis Buteyn dennis.buteyn at xorcom.com
Tue May 10 07:09:54 CDT 2022


Noticed a ton of warnings (-Wformat-truncation, -Wunused-result, 
-Wstringop-overflow, -Wstringop-truncation, -Wlto-type-mismatch, 
-Wfree-nonheap-object, -Warray-bounds) compiling Asterisk 16.24.1 on the 
few compilers I tried:

gcc (Debian 8.3.0-6) 8.3.0
gcc (Debian 10.2.1-6) 10.2.1 20210110
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0

Just curious if anyone is aware of these warnings and whether they have 
been resolved in later revisions.

-- 
Dennis Buteyn
Xorcom Ltd




More information about the asterisk-dev mailing list