[cfe-dev] Build errors from trunk

Jason Haslam jason.haslam at gmail.com
Wed Apr 22 11:56:04 PDT 2009


On Apr 22, 2009, at 12:13 PM, Martinez, Javier E wrote:

> Hello,
>
> I downloaded the latest snapshot from the trunk sometime yesterday  
> and have been experiencing build errors using VS9. I’m wondering if  
> others are seeing this too. I generated the project files using  
> CMake 2.6.
>
> The first error is on the LLVM truck in the file \lib\Analisys 
> \ScalarEvolutionExpander.cpp at lines 92 and 93. The compiler  
> complains about Instruction::Instruction. If I change that to just  
> one “Instruction::” the file compiles fine. The second error is on  
> the file \tools\clang\lib\Basic\Diagnostic.cpp at lines 354 and 360.  
> The included file (DiagnosticGroups.inc) can’t be found.

I ran into the second one too.  There's a missing dependency on  
ClangDiagnosticGroups:

Index: lib/Basic/CMakeLists.txt
===================================================================
--- lib/Basic/CMakeLists.txt	(revision 69807)
+++ lib/Basic/CMakeLists.txt	(working copy)
@@ -19,6 +19,7 @@
                   ClangDiagnosticCommon
                   ClangDiagnosticDriver
                   ClangDiagnosticFrontend
+                 ClangDiagnosticGroups
                   ClangDiagnosticLex
                   ClangDiagnosticParse
                   ClangDiagnosticSema)

Regards,
Jason

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090422/3d31fb3a/attachment.html>


More information about the cfe-dev mailing list