andoid4.0編譯 reference ‘counts’ cannot be declared ‘mutable’ [-fpermissive]

In file included from external/oprofile/libpp/arrange_profiles.cpp:24:0:
external/oprofile/libpp/format_output.h:94:22: error: reference ‘counts’ cannot be declared ‘mutable’ [-fpermissive]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/arrange_profiles.o] Error 1
解決辦法:
external/oprofile/libpp/format_output.h

把:
mutable counts_t & counts;
改爲:
counts_t & counts;
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章