<div>Hi,</div>
<div> </div>
<div>New guy here. In running the Visual Studio ALL_BUILD.vcproj generated by cmake, I get a compile error in Driver.cpp:</div>
<div> </div>
<div>1>Driver.cpp<br>1>.\Driver.cpp(40) : error C2061: syntax error : identifier 'Diagnostic'<br>1>.\Driver.cpp(41) : error C2511: 'clang::driver::Driver::Driver(const char *,const char *,const char *,const char *)' : overloaded member function not found in 'clang::driver::Driver'<br>
1> C:\Tools\llvm\tools\clang\include\clang/Driver/Driver.h(39) : see declaration of 'clang::driver::Driver'<br></div>
<div>Curiously, the Diagnostic parameter is missing in the above message. This error goes away if I add a "clang::" qualifier to the "Diagnostic" symbol in both the constructor declaration in Driver.h and the constructor implementation in Driver.cpp. I.e.:</div>
<div> </div>
<div>public:<br> Driver(const char *_Name, const char *_Dir,<br> const char *_DefaultHostTriple,<br> const char *_DefaultImageName,<br> clang::Diagnostic &_Diags);<br></div>
<div>and:</div>
<div> </div>
<div>Driver::Driver(const char *_Name, const char *_Dir,<br> const char *_DefaultHostTriple,<br> const char *_DefaultImageName,<br> clang::Diagnostic &_Diags) <br></div>
<div>VC++ quirk?</div>
<div> </div>
<div>-John<br clear="all"><br>-- <br>John Thompson<br><a href="mailto:John.Thompson.JTSoftware@gmail.com">John.Thompson.JTSoftware@gmail.com</a><br><br></div>