Hi,
I'm trying to compile Android (following the instructions that appears in the site 'source' of 'android.com') but after some minutes I get this error:
"
Building Clang Driver Option tables with tblgen
Host TableGen: vdc (gen-opt-parser-defs) <= external/clang/include/clang/Driver/Options.td
host C++: llvm-rs-cc <= frameworks/compile/slang/llvm-rs-cc.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_ast_replace.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_context.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_pragma_handler.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_backend.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_exportable.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_type.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_element.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_var.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_func.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_foreach.cpp
frameworks/compile/slang/slang_rs_export_foreach.cpp: In static member function ‘static slang::RSExportForEach* slang::RSExportForEach::Create(slang::RSContext*, const clang::FunctionDecl*)’:
frameworks/compile/slang/slang_rs_export_foreach.cpp:249:23: error: variable ‘ParamName’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
make: *** [out/host/linux-x86/obj/EXECUTABLES/llvm-rs-cc_intermediates/slang_rs_export_foreach.o] Error ...
"
Can anyone help me?
Thanks
I'm trying to compile Android (following the instructions that appears in the site 'source' of 'android.com') but after some minutes I get this error:
"
Building Clang Driver Option tables with tblgen
Host TableGen: vdc (gen-opt-parser-defs) <= external/clang/include/clang/Driver/Options.td
host C++: llvm-rs-cc <= frameworks/compile/slang/llvm-rs-cc.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_ast_replace.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_context.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_pragma_handler.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_backend.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_exportable.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_type.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_element.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_var.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_func.cpp
host C++: llvm-rs-cc <= frameworks/compile/slang/slang_rs_export_foreach.cpp
frameworks/compile/slang/slang_rs_export_foreach.cpp: In static member function ‘static slang::RSExportForEach* slang::RSExportForEach::Create(slang::RSContext*, const clang::FunctionDecl*)’:
frameworks/compile/slang/slang_rs_export_foreach.cpp:249:23: error: variable ‘ParamName’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
make: *** [out/host/linux-x86/obj/EXECUTABLES/llvm-rs-cc_intermediates/slang_rs_export_foreach.o] Error ...
"
Can anyone help me?
Thanks