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 ...


 frameworks/compile/slang/Android.mk 파일 수정


============================================================ 
-    local_cflags_for_slang := -Wno-sign-promo -Wall -Wno-unused-parameter -Werror 
+    local_cflags_for_slang := -Wno-sign-promo -Wall -Wno-unused-parameter 
============================================================  

위와 같이 -Werror 를 없애준다 
저작자 표시 비영리 변경 금지
신고


 

티스토리 툴바