[cfe-dev] Clang build failure on Windows (both MSVC and MinGW GCC/Clang)

Nikola Smiljanic popizdeh at gmail.com
Sat Jul 28 12:09:02 PDT 2012


Just update and it will go away :)

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



More information about the cfe-dev mailing list