<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">More details: there is no cross-HTML
      diagnostics in clang now. Since the execution starts from the
      function in the source file (if no special option was set), we
      need to generate cross-file report for this. So, this warning is
      filtered out.<br>
      <br>
      21.09.2016 15:40, Aleksei Sidorin via cfe-dev пишет:<br>
    </div>
    <blockquote
      cite="mid:a9a4108f-ebb3-52cb-26ae-0a21c404b7ca@samsung.com"
      type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      <div class="moz-cite-prefix">Hello Dave,<br>
        <br>
        CSA usually does not emit HTML diagnostics in headers. So, you
        will not get HTML report for this.<br>
        <br>
        <br>
        21.09.2016 15:34, Dave Flogeras via cfe-dev пишет:<br>
      </div>
      <blockquote
cite="mid:CANB0TnQcM4SCXiBqNxkaN9jMqGHq4Y9fmgZpvTNHw9tadWGcwA@mail.gmail.com"
        type="cite">
        <div dir="ltr">
          <div class="gmail_extra"><br>
            <div class="gmail_quote">On Wed, Sep 21, 2016 at 8:33 AM,
              Artem Dergachev <span dir="ltr"><<a
                  moz-do-not-send="true"
                  href="mailto:noqnoqneo@gmail.com" target="_blank">noqnoqneo@gmail.com</a>></span>
              wrote:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">First
                of all, you shouldn't be calling the "c++-analyzer"
                executable directly. It shouldn't ideally be in your
                PATH. This script is intended to be run by a tool called
                "scan-build", which essentially does the
                "CXX=c++-analyzer" thing you're doing, just passing a
                lot of options to this script through its own
                environment variables.<br>
              </blockquote>
            </div>
            <br>
          </div>
          <div class="gmail_extra">Ahh, OK sorry.  If I re-try with a
            clean build dir:<br>
            <br>
          </div>
          <div class="gmail_extra">scan-build cmake
            -DCMAKE_BUILD_TYPE=Release ..<br>
          </div>
          <div class="gmail_extra">scan-build make<br>
            <br>
          </div>
          <div class="gmail_extra">I still see the aforementioned
            "Potential memory leak" on the console, but at the end of
            the run scan-build says there are no reports, and removes
            the output html directory.<br>
          </div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
cfe-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a>
</pre>
      </blockquote>
      <br>
      <p><br>
      </p>
      <pre class="moz-signature" cols="72">-- 
Best regards,
Aleksei Sidorin
Software Engineer, 
IMSWL-IMCG, SRR, Samsung Electronics
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a>
</pre>
    </blockquote>
    <br>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Best regards,
Aleksei Sidorin
Software Engineer, 
IMSWL-IMCG, SRR, Samsung Electronics
</pre>
  </body>
</html>