<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Jonathan,<br>
      <br>
      as I see from your command line, you are still using an old
      version of scan-build. Could you check if this problem is
      reproducible with the newest one?<br>
      AFAIR, you can use new scan-build with your clang so it is not
      necessary to build clang from repository.<br>
      <br>
      <br>
      22.01.2016 01:45, Lockhart, Jonathan (lockhaja) пишет:<br>
    </div>
    <blockquote
cite="mid:CO1PR01MB015A80A864B149772E7DC7398C30@CO1PR01MB015.prod.exchangelabs.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p>Alexey,</p>
        <p><br>
        </p>
        <p>Thanks for the input, that seems to have resolved the issue.
          Thanks for noticing that spelling error as well. Now that you
          mention it, and checking the change logs, I seem to remember
          that being an issue before, and I link I moved to a different
          use environment. In any case, I now get a message about the</p>
        <br>
        <p>C:\Users\lockhaja\build\tools\clang\tools\scan-build>perl
          -S scan-build -v -v -o "C:\Users\lockhaja_local\Desktop"
          --use-analyzer=C:\Users\lockhaja\build\bin\Debug\clang.exe gcc
          C:\main.c<br>
        </p>
        The syntax of the command is incorrect.<br>
        scan-build: Using 'C:/Users/lockhaja/build/bin/Debug/clang.exe'
        for static analysis<br>
        scan-build: Emitting reports for this run to
        'C:/Users/lockhaja_local/Desktop/2016-01-21-1'.<br>
        <p>'C:/Users/lockhaja/build/tools/clang/tools/scan-build/ccc-analyzer'
          is not recognized as an internal or external command, operable
          program or batch file.<br>
        </p>
        scan-build: No bugs found.<br>
        <br>
        <p>I purposefully added a few bugs into the system, so I know
          scan-build should be locating those. Any thoughts on the
          "syntax of the command is incorrect" and
          "'C:/Users/lockhaja/build/tools/clang/tools/scan-build/ccc-analyzer'
          is not recognized as an internal or external command, operable
          program or batch file." messages that have appeared? I did
          check and the ccc-analyzer file appears to be complete and
          correct.<br>
        </p>
        <br>
        <div id="Signature">
          <div id="divtagdefaultwrapper" style="font-size:12pt;
            color:#000000; background-color:#FFFFFF;
            font-family:Calibri,Arial,Helvetica,sans-serif">
            <div name="divtagdefaultwrapper"
              style="font-family:Calibri,Arial,Helvetica,sans-serif;
              font-size:; margin:0">
              <div style="font-family:Tahoma; font-size:13px">
                <div style="font-family:Tahoma; font-size:13px">
                  <div style="font-size:13px"><font
                      face="Calibri,Arial,Helvetica,sans-serif" size="3">Regards,<br>
                      Jon Lockhart<br>
                      PhD Candidate - EE Systems<br>
                      University of Cincinnati<br>
                      <a class="moz-txt-link-abbreviated" href="mailto:lockhaja@mail.uc.edu">lockhaja@mail.uc.edu</a></font></div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <br>
        <br>
        <div style="color: rgb(0, 0, 0);">
          <hr tabindex="-1" style="display:inline-block; width:98%">
          <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
              face="Calibri, sans-serif" color="#000000"><b>From:</b>
              Alexey Sidorin <a class="moz-txt-link-rfc2396E" href="mailto:alexey.v.sidorin@ya.ru"><alexey.v.sidorin@ya.ru></a><br>
              <b>Sent:</b> Thursday, January 21, 2016 5:14 PM<br>
              <b>To:</b> Lockhart, Jonathan (lockhaja)<br>
              <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
              <b>Subject:</b> Re: [cfe-dev] Issues Running Scan-build</font>
            <div> </div>
          </div>
          <div>
            <div class="moz-cite-prefix">Hello Jonathan,<br>
              <br>
              It seems like you are using an old version of scan-build.
              This issue should be fixed with commit
              <span class="right"><span class="sha-block"><span
                    class="sha user-select-contain">4415a4b58bd (<a
                      moz-do-not-send="true" id="LPlnk994049"
                      class="moz-txt-link-freetext"
href="https://github.com/llvm-mirror/clang/commit/4415a4b58bd561d85a7dff84f62778b675a98a09"><a class="moz-txt-link-freetext" href="https://github.com/llvm-mirror/clang/commit/4415a4b58bd561d85a7dff84f62778b675a98a09">https://github.com/llvm-mirror/clang/commit/4415a4b58bd561d85a7dff84f62778b675a98a09</a></a>).

                    I suggest you to update your scan-build to the
                    newest version and check it again.<br>
                    <br>
                    You can also try the newest Python version of
                    scan-build (which is located in
                    tools/scan-build-py).<br>
                    <br>
                    And, BTW, '--user-analyzer' option in your cmdline
                    should be corrected to '--use-analyzer'.<br>
                    <br>
                    <br>
                  </span></span></span><br>
              22.01.2016 00:32, Lockhart, Jonathan (lockhaja) via
              cfe-dev пишет:<br>
            </div>
            <blockquote type="cite">
              <div id="divtagdefaultwrapper" style="font-size:12pt;
                color:#000000; background-color:#FFFFFF;
                font-family:Calibri,Arial,Helvetica,sans-serif">
                <p>Greetings,</p>
                <p><br>
                </p>
                <p>Been a while since I emailed the list. Oddly enough I
                  have run into an error with my scan-build installation
                  it seems. I previously had it up and running for a
                  project I was doing back in 2014, and that Fall was
                  the last I touched it. I have come back to use it with
                  the same build, nothing has changed on the machine I
                  am using since 2014, and I am getting an error upon
                  launching. Please see the first screenshot. I checked
                  the scan-build perl file and it tells me that the
                  getpwuid on line 35 is set to "Unknown." Screenshot 2
                  has the info from the scan-build file. Screenshot 3
                  has the command I am inputting and the perl command it
                  is switching too for the command line.
                </p>
                <p><br>
                </p>
                <p>Any assistance would be much appreciated and I do
                  apologize if I am mailing the wrong list, it has been
                  a while.<br>
                </p>
                <p><br>
                </p>
                <div id="Signature">
                  <div id="divtagdefaultwrapper" style="font-size:12pt;
                    color:#000000; background-color:#FFFFFF;
                    font-family:Calibri,Arial,Helvetica,sans-serif">
                    <div name="divtagdefaultwrapper"
                      style="font-family:Calibri,Arial,Helvetica,sans-serif;
                      font-size:; margin:0">
                      <div style="font-family:Tahoma; font-size:13px">
                        <div style="font-family:Tahoma; font-size:13px">
                          <div style="font-size:13px"><font
                              face="Calibri,Arial,Helvetica,sans-serif"
                              size="3">Regards,<br>
                              Jon Lockhart<br>
                              PhD Candidate - EE Systems<br>
                              University of Cincinnati<br>
                              <a moz-do-not-send="true"
                                class="moz-txt-link-abbreviated"
                                href="mailto:lockhaja@mail.uc.edu">lockhaja@mail.uc.edu</a></font></div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <br>
              <fieldset class="mimeAttachmentHeader"></fieldset>
              <br>
              <pre>_______________________________________________
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>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>