<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 5/10/22 15:21, Joshua C. Colp wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAM0A2Z1UfNJugvdix4J++NaJTxZGDjgU46L_J7429ZE4ZOXP=Q@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">On Tue, May 10, 2022 at 9:10 AM Dennis Buteyn
          <<a href="mailto:dennis.buteyn@xorcom.com"
            moz-do-not-send="true" class="moz-txt-link-freetext">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.</p>
    <pre class="moz-signature" cols="72">-- 
Dennis Buteyn
Xorcom Ltd</pre>
  </body>
</html>