<div dir="ltr"><div dir="ltr">On Wed, May 11, 2022 at 6:12 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">
  
    
  
  <div>
    <div>On 5/10/22 15:21, Joshua C. Colp wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div dir="ltr">On Tue, May 10, 2022 at 9:10 AM Dennis Buteyn
          <<a href="mailto:dennis.buteyn@xorcom.com" target="_blank">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>
        <br>
      </div>
    </blockquote>
    <p><br>
    </p>
    <p>Rebased on master (a24979a2d7) and ignoring anything
      PJSIP-related, still getting a bunch of warnings with gcc (Ubuntu
      11.2.0-7ubuntu2) 11.2.0 (attached).</p>
    <p>Compiler flags used:</p>
    <p>-Wformat<br>
      -Werror=format-security<br>
      -Wdate-time<br>
      -Wall<br>
      -Wstrict-prototypes<br>
      -Wmissing-prototypes<br>
      -Wmissing-declarations<br>
      -Wl,--warn-common<br>
    </p>
    <p>As for the recent fixes, I guess we just need to wait for 16.27.<br></p></div></blockquote><div><br></div><div>This didn't really answer my question. Are you using additional options beyond what is normally used? If so, then it is unlikely anyone would have seen these before or investigated and would explain why Jenkins isn't seeing them either. You'd need to file an issue[1] attaching the log, and then it will go into the queue to be looked at.</div></div><div><br></div>[1] <a href="https://issues.asterisk.org/jira">https://issues.asterisk.org/jira</a><br clear="all"><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>