raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=6d4b85f820d4bd16c29e0de0b0c44b1ab6935b3e
commit 6d4b85f820d4bd16c29e0de0b0c44b1ab6935b3e Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Sat Feb 11 22:53:04 2017 +0900 eo base - fix warnings for debug logs to get format string types happy gcc is very unhappy with these log prints - specifically on arm 32bit. this fixes it so we can focus on real warnings/issues. --- src/lib/eo/eo.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index a8abd3c..f13a9af 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -2510,12 +2510,12 @@ _eo_log_obj_entry_show(const Eo_Log_Obj_Entry *entry, int log_level, const char if (info.dli_sname) { eina_log_print(_eo_log_objs_dom, log_level, file, func_name, line, - " %#016" PRIx64 ": %s+%#" PRIx64 " (in %s %#" PRIx64 ")", - (uint64_t)entry->bt[i], + " 0x%016llx: %s+%llu (in %s 0x%llx)", + (unsigned long long)(uintptr_t)entry->bt[i], info.dli_sname, - (char *)entry->bt[i] - (char *)info.dli_saddr, + (unsigned long long)(uintptr_t)((char *)entry->bt[i] - (char *)info.dli_saddr), info.dli_fname ? info.dli_fname : "??", - (uint64_t)info.dli_fbase); + (unsigned long long)(uintptr_t)info.dli_fbase); continue; } else if (info.dli_fname) @@ -2531,19 +2531,19 @@ _eo_log_obj_entry_show(const Eo_Log_Obj_Entry *entry, int log_level, const char else fname++; eina_log_print(_eo_log_objs_dom, log_level, file, func_name, line, - " %#016" PRIx64 ": %s+%#" PRIx64 " (in %s %#" PRIx64 ")", - (uint64_t)entry->bt[i], + " 0x%016llx: %s+%llu (in %s 0x%llx)", + (unsigned long long)(uintptr_t)entry->bt[i], fname, - (char *)entry->bt[i] - (char *)info.dli_fbase, + (unsigned long long)(uintptr_t)((char *)entry->bt[i] - (char *)info.dli_fbase), info.dli_fname, - (uint64_t)info.dli_fbase); + (unsigned long long)(uintptr_t)info.dli_fbase); continue; } } #endif eina_log_print(_eo_log_objs_dom, log_level, func_name, file, line, - " %#016" PRIx64, (uint64_t)entry->bt[i]); + " 0x%016llx", (unsigned long long)(uintptr_t)entry->bt[i]); } } #endif --
