<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Trunk build fails rev 348704"
   href="https://bugs.llvm.org/show_bug.cgi?id=39923">39923</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Trunk build fails rev 348704
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>benjima@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi!

I'm getting this error, when trying to build with Release mode:

/home/slave/llvm-local/llvm/tools/clang/lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp:
In function ‘void {anonymous}::Z3ErrorHandler(Z3_context, Z3_error_code)’:
/home/slave/llvm-local/llvm/tools/clang/lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp:49:71:
error: cannot convert ‘Z3_context {aka _Z3_context*}’ to ‘Z3_error_code’ for
argument ‘1’ to ‘const char* Z3_get_error_msg(Z3_error_code)’
                            llvm::Twine(Z3_get_error_msg(Context, Error)));
                                                                       ^
tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/build.make:1190:
recipe for target
'tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/Z3ConstraintManager.cpp.o'
failed
make[2]: ***
[tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/Z3ConstraintManager.cpp.o]
Error 1
CMakeFiles/Makefile2:25191: recipe for target
'tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/all'
failed
make[1]: ***
[tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/all]
Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

SVN info:
Last Changed Rev: 348704
Last Changed Date: 2018-12-08 11:53:10 +0100 (Sa, 08 Dez 2018)

Any hint on how to resolve this?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>