<div class="gmail_quote">2012/7/28 Nikola Smiljanic <span dir="ltr"><<a href="mailto:popizdeh@gmail.com" target="_blank">popizdeh@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Just update and it will go away :)<br></blockquote><div><br>I think I'm getting the same failure (GCC 4.7.1 output this time), revision 160924:<br><br><span style="font-family:courier new,monospace">[ 75%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/APValue.cpp.obj</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">In file included from M:\Development\Source\LLVM\tools\clang\lib\AST\APValue.cpp:17:0:</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">M:/Development/Source/LLVM/tools/clang/include/clang/AST/DeclCXX.h:798:43: error: declaration of 'typedef class clang::DeclContext::specific_decl_iterator<clang::VarDecl> clang::CXXRecordDecl::static_data_iterator'</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">M:/Development/Source/LLVM/tools/clang/include/clang/AST/DeclCXX.h:784:43: error: conflicts with previous declaration 'typedef class clang::DeclContext::specific_decl_iterator<clang::VarDecl> clang::CXXRecordDecl::static_data_iterator'</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">M:/Development/Source/LLVM/tools/clang/include/clang/AST/DeclCXX.h:802:24: error: 'clang::CXXRecordDecl::static_data_iterator clang::CXXRecordDecl::static_data_begin() const' cannot be overloaded</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">M:/Development/Source/LLVM/tools/clang/include/clang/AST/DeclCXX.h:788:24: error: with 'clang::CXXRecordDecl::static_data_iterator clang::CXXRecordDecl::static_data_begin() const'</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">M:/Development/Source/LLVM/tools/clang/include/clang/AST/DeclCXX.h:806:24: error: 'clang::CXXRecordDecl::static_data_iterator clang::CXXRecordDecl::static_data_end() const' cannot be overloaded</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">M:/Development/Source/LLVM/tools/clang/include/clang/AST/DeclCXX.h:792:24: error: with 'clang::CXXRecordDecl::static_data_iterator clang::CXXRecordDecl::static_data_end() const'</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">mingw32-make[2]: *** [tools/clang/lib/AST/CMakeFiles/clangAST.dir/APValue.cpp.obj] Error 1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">mingw32-make[1]: *** [tools/clang/lib/AST/CMakeFiles/clangAST.dir/all] Error 2</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">mingw32-make: *** [all] Error 2</span><br><br>Thank for the attempt though.<br><br>Ruben<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div><br>
On Sat, Jul 28, 2012 at 8:46 PM, Ruben Van Boxem<br>
<<a href="mailto:vanboxem.ruben@gmail.com" target="_blank">vanboxem.ruben@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I'm getting this build failure with revision 160920:<br>
> [ 66%] Building CXX object<br>
> tools/clang/lib/AST/CMakeFiles/clangAST.dir/APValue.cpp.obj<br>
> In file included from<br>
> M:\Development\Source\LLVM\tools\clang\lib\AST\APValue.cpp:17:<br>
> M:/Development/Source/LLVM/tools/clang/include\clang/AST/DeclCXX.h:798:43:<br>
> error:<br>
>       redefinition of 'static_data_iterator'<br>
>   typedef specific_decl_iterator<VarDecl> static_data_iterator;<br>
>                                           ^<br>
> M:/Development/Source/LLVM/tools/clang/include\clang/AST/DeclCXX.h:784:43:<br>
> note:<br>
>       previous definition is here<br>
>   typedef specific_decl_iterator<VarDecl> static_data_iterator;<br>
>                                           ^<br>
> M:/Development/Source/LLVM/tools/clang/include\clang/AST/DeclCXX.h:802:24:<br>
> error:<br>
>       class member cannot be redeclared<br>
>   static_data_iterator static_data_begin() const {<br>
>                        ^<br>
> M:/Development/Source/LLVM/tools/clang/include\clang/AST/DeclCXX.h:788:24:<br>
> note:<br>
>       previous declaration is here<br>
>   static_data_iterator static_data_begin() const {<br>
>                        ^<br>
> M:/Development/Source/LLVM/tools/clang/include\clang/AST/DeclCXX.h:806:24:<br>
> error:<br>
>       class member cannot be redeclared<br>
>   static_data_iterator static_data_end() const {<br>
>                        ^<br>
> M:/Development/Source/LLVM/tools/clang/include\clang/AST/DeclCXX.h:792:24:<br>
> note:<br>
>       previous declaration is here<br>
>   static_data_iterator static_data_end() const {<br>
>                        ^<br>
> M:/Development/Source/LLVM/tools/clang/include\clang/AST/DeclCXX.h:802:24:<br>
> error:<br>
>       redefinition of 'static_data_begin'<br>
>   static_data_iterator static_data_begin() const {<br>
>                        ^<br>
> M:/Development/Source/LLVM/tools/clang/include\clang/AST/DeclCXX.h:788:24:<br>
> note:<br>
>       previous definition is here<br>
>   static_data_iterator static_data_begin() const {<br>
>                        ^<br>
> M:/Development/Source/LLVM/tools/clang/include\clang/AST/DeclCXX.h:806:24:<br>
> error:<br>
>       redefinition of 'static_data_end'<br>
>   static_data_iterator static_data_end() const {<br>
>                        ^<br>
> M:/Development/Source/LLVM/tools/clang/include\clang/AST/DeclCXX.h:792:24:<br>
> note:<br>
>       previous definition is here<br>
>   static_data_iterator static_data_end() const {<br>
>                        ^<br>
> 5 errors generated.<br>
> mingw32-make[2]: ***<br>
> [tools/clang/lib/AST/CMakeFiles/clangAST.dir/APValue.cpp.obj] Error 1<br>
> mingw32-make[1]: *** [tools/clang/lib/AST/CMakeFiles/clangAST.dir/all] Error<br>
> 2<br>
> mingw32-make: *** [all] Error 2<br>
><br>
> This was not a problem a few days ago :( Anyone know what's wrong?<br>
><br>
> Ruben<br>
><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
><br>
</blockquote></div><br>