slang_rs_export_foreach.cpp , error : variable ‘ParamName’ set but not used
개발노트/Android 2012. 3. 7. 16:55
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 파일 수정
============================================================
위와 같이 -Werror 를 없애준다
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 를 없애준다