<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns0="urn:schemas-microsoft-com:office:smarttags">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:8.0pt;font-family:"Courier New"'>Hi all,<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:8.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:8.0pt;font-family:"Courier New"'>I’ve tried to build Release
version of clang obtained from the head of SVN using Visual C++ 2005 and got
the linkage errors listed at the end of this letter. Has anyone tried to do the
same and found some solution/workaround for this? Interestingly enough the
Debug version is building without any errors.<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:8.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:8.0pt;font-family:"Courier New"'>One more detail: I used CMake
in combination with nmake.<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:8.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:8.0pt;font-family:"Courier New"'>Best regards,<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:8.0pt;font-family:"Courier New"'>Victor<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:8.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:8.0pt;font-family:"Courier New"'>The errors:<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:8.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:8.0pt;font-family:"Courier New"'>39>clangSema.lib(ParseAST.obj)
: error LNK2001: unresolved external symbol "public: virtual class
clang::ASTOwningResult<&[thunk]: __thiscall
clang::ActionBase::`vcall'{4,{flat}}' }'> __thiscall
clang::Sema::ActOnCallExpr(class clang::Scope *,class
clang::ASTOwningResult<&[thunk]: __thiscall
clang::ActionBase::`vcall'{4,{flat}}' }'>,class clang::SourceLocation,class
clang::ASTMultiPtr<&[thunk]: __thiscall
clang::ActionBase::`vcall'{4,{flat}}' }'>,class clang::SourceLocation *,class
clang::SourceLocation)"
(?ActOnCallExpr@Sema@clang@@UAE?AV?$ASTOwningResult@$1??_9ActionBase@clang@@$B3AE@2@PAVScope@2@V32@VSourceLocation@2@V?$ASTMultiPtr@$1??_9ActionBase@clang@@$B3AE@2@PAV52@2@Z)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:8.0pt;font-family:"Courier New"'>39>clangSema.lib(Sema.obj)
: error LNK2001: unresolved external symbol "public: virtual class
clang::ASTOwningResult<&[thunk]: __thiscall
clang::ActionBase::`vcall'{4,{flat}}' }'> __thiscall
clang::Sema::ActOnCallExpr(class clang::Scope *,class
clang::ASTOwningResult<&[thunk]: __thiscall clang::ActionBase::`vcall'{4,{flat}}'
}'>,class clang::SourceLocation,class clang::ASTMultiPtr<&[thunk]:
__thiscall clang::ActionBase::`vcall'{4,{flat}}' }'>,class
clang::SourceLocation *,class clang::SourceLocation)"
(?ActOnCallExpr@Sema@clang@@UAE?AV?$ASTOwningResult@$1??_9ActionBase@clang@@$B3AE@2@PAVScope@2@V32@VSourceLocation@2@V?$ASTMultiPtr@$1??_9ActionBase@clang@@$B3AE@2@PAV52@2@Z)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:8.0pt;font-family:"Courier New"'>39>clangSema.lib(Sema.obj)
: error LNK2001: unresolved external symbol "public: virtual class
clang::ASTOwningResult<&[thunk]: __thiscall clang::ActionBase::`vcall'{8,{flat}}'
}'> __thiscall clang::Sema::ActOnCompoundStmt(class
clang::SourceLocation,class clang::SourceLocation,class
clang::ASTMultiPtr<&[thunk]: __thiscall
clang::ActionBase::`vcall'{8,{flat}}' }'>,bool)" (?ActOnCompoundStmt@Sema@clang@@UAE?AV?$ASTOwningResult@$1??_9ActionBase@clang@@$B7AE@2@VSourceLocation@2@0V?$ASTMultiPtr@$1??_9ActionBase@clang@@$B7AE@2@_N@Z)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:8.0pt;font-family:"Courier New"'>39>clangSema.lib(Sema.obj)
: error LNK2001: unresolved external symbol "public: virtual class
clang::ASTOwningResult<&[thunk]: __thiscall
clang::ActionBase::`vcall'{8,{flat}}' }'> __thiscall
clang::Sema::ActOnAsmStmt(class clang::SourceLocation,bool,bool,unsigned
int,unsigned int,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > *,class
clang::ASTMultiPtr<&[thunk]: __thiscall
clang::ActionBase::`vcall'{4,{flat}}' }'>,class
clang::ASTMultiPtr<&[thunk]: __thiscall
clang::ActionBase::`vcall'{4,{flat}}' }'>,class
clang::ASTOwningResult<&[thunk]: __thiscall clang::ActionBase::`vcall'{4,{flat}}'
}'>,class clang::ASTMultiPtr<&[thunk]: __thiscall
clang::ActionBase::`vcall'{4,{flat}}' }'>,class clang::SourceLocation)"
(?ActOnAsmStmt@Sema@clang@@UAE?AV?$ASTOwningResult@$1??_9ActionBase@clang@@$B7AE@2@VSourceLocation@2@_N1IIPAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$ASTMultiPtr@$1??_9ActionBase@clang@@$B3AE@2@3V?$ASTOwningResult@$1??_9ActionBase@clang@@$B3AE@2@30@Z)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:8.0pt;font-family:"Courier New"'>39>clangSema.lib(Sema.obj)
: error LNK2001: unresolved external symbol "public: virtual void *
__thiscall clang::Sema::ActOnClassTemplate(class clang::Scope *,unsigned
int,enum clang::Action::TagKind,class clang::SourceLocation,class
clang::CXXScopeSpec const &,class clang::IdentifierInfo *,class
clang::SourceLocation,class clang::AttributeList *,class clang::ASTMultiPtr<&[thunk]:
__thiscall clang::ActionBase::`vcall'{12,{flat}}' }'>)"
(?ActOnClassTemplate@Sema@clang@@UAEPAXPAVScope@2@IW4TagKind@Action@2@VSourceLocation@2@ABVCXXScopeSpec@2@PAVIdentifierInfo@2@2PAVAttributeList@2@V?$ASTMultiPtr@$1??_9ActionBase@clang@@$BM@AE@2@@Z)<o:p></o:p></span></font></p>

</div>

</body>

</html>