<div dir="ltr"><div dir="ltr">On Tue, May 10, 2022 at 9:10 AM Dennis Buteyn <<a href="mailto:dennis.buteyn@xorcom.com">dennis.buteyn@xorcom.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Noticed a ton of warnings (-Wformat-truncation, -Wunused-result, <br>
-Wstringop-overflow, -Wstringop-truncation, -Wlto-type-mismatch, <br>
-Wfree-nonheap-object, -Warray-bounds) compiling Asterisk 16.24.1 on the <br>
few compilers I tried:<br>
<br>
gcc (Debian 8.3.0-6) 8.3.0<br>
gcc (Debian 10.2.1-6) 10.2.1 20210110<br>
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0<br>
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0<br>
gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0<br>
<br>
Just curious if anyone is aware of these warnings and whether they have <br>
been resolved in later revisions.<br></blockquote><div><br></div><div>Are these the default warning options when built in developer mode? If so, then we take care of them as soon as we become aware - and we just did a batch of GCC12 fixes to take care of the latest ones. Otherwise you'd need to be more specific about what exactly is showing them. For example, if it's PJSIP ones we generally don't touch it and such fixes would need to go upstream. If these are options you've set, then we wouldn't have seen them.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Technical Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>