<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </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 --- - During compilation 'isOSMSVCRT' : is not a member of 'llvm::Triple'"
   href="http://llvm.org/bugs/show_bug.cgi?id=16990">16990</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>During compilation 'isOSMSVCRT' : is not a member of 'llvm::Triple'
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Windows XP
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>s.scott.schurr@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm building Clang revision 189184 using Visual Studio 2010.  Before building I
did a full svn check out of both llvm and clang.  Then I re-ran cmake.  Next I
invoked 'clean' on the ALL_BUILD project.  Finally I built ALL_BUILD.  While
building ALL_BUILD I got the following compile error:

110>..\..\..\..\..\llvm\tools\clang\lib\Analysis\FormatString.cpp(718): error
C2039: 'isOSMSVCRT' : is not a member of 'llvm::Triple'
110>          C:\Work\llvm_build\llvm_source\llvm\include\llvm/ADT/Triple.h(43)
: see declaration of 'llvm::Triple'

This is the first build error.  The next compilation error is:

168>..\..\..\..\..\llvm\tools\clang\lib\Serialization\ASTWriter.cpp(4665):
error C2039: 'less_first' : is not a member of 'llvm'
168>..\..\..\..\..\llvm\tools\clang\lib\Serialization\ASTWriter.cpp(4665):
error C3861: 'less_first': identifier not found

That compilation error recurs like this:

173>..\..\..\..\..\llvm\tools\clang\lib\Frontend\ASTUnit.cpp(2683): error
C2039: 'less_first' : is not a member of 'llvm'
173>..\..\..\..\..\llvm\tools\clang\lib\Frontend\ASTUnit.cpp(2683): error
C3861: 'less_first': identifier not found
173>..\..\..\..\..\llvm\tools\clang\lib\Frontend\ASTUnit.cpp(2709): error
C2039: 'less_first' : is not a member of 'llvm'
173>..\..\..\..\..\llvm\tools\clang\lib\Frontend\ASTUnit.cpp(2709): error
C3861: 'less_first': identifier not found
173>..\..\..\..\..\llvm\tools\clang\lib\Frontend\ASTUnit.cpp(2722): error
C2039: 'less_first' : is not a member of 'llvm'
173>..\..\..\..\..\llvm\tools\clang\lib\Frontend\ASTUnit.cpp(2722): error
C3861: 'less_first': identifier not found

Then I get a different compilation error:

185>..\..\..\..\..\llvm\tools\clang\lib\CodeGen\BackendUtil.cpp(214): error
C2664: 'llvm::createDataFlowSanitizerPass' : cannot convert parameter 1 from
'const std::string' to 'void *(__cdecl *)(void)'
185>          No user-defined-conversion operator available that can perform
this conversion, or the operator cannot be called

Then there's yet a different compilation error:

185>..\..\..\..\..\llvm\tools\clang\lib\CodeGen\CGDebugInfo.cpp(623): error
C2664: 'llvm::DICompositeType::DICompositeType(const llvm::DICompositeType &)'
: cannot convert parameter 1 from 'llvm::DIType' to 'const
llvm::DICompositeType &'
185>          Reason: cannot convert from 'llvm::DIType' to 'const
llvm::DICompositeType'
185>          No user-defined-conversion operator available that can perform
this conversion, or the operator cannot be called
185>..\..\..\..\..\llvm\tools\clang\lib\CodeGen\CGDebugInfo.cpp(3086): error
C2664: 'llvm::DICompositeType::addMember' : cannot convert parameter 1 from
'llvm::DIDerivedType' to 'llvm::DISubprogram'
185>          No user-defined-conversion operator available that can perform
this conversion, or the operator cannot be called

Then I cancelled the build, since I saw no sense in continuing.</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>