Mir

Building Mir outputs lots of warnings about Android logging functions in 3rd_party/

Bug #1348467 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Low
Daniel van Vugt
mir (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Building Mir outputs lots of warnings about Android logging functions. It would be nice if we could filter these out so we didn't become blind to all warnings in 3rd_party...

[ 5%] In file included from /home/dan/bzr/mir/dev/3rd_party/android-input/android/frameworks/base/services/input/InputDispatcher.cpp:50:0:
/home/dan/bzr/mir/dev/3rd_party/android-input/android/frameworks/base/services/input/InputDispatcher.cpp: In function ‘bool android::validateMotionEvent(int32_t, size_t, const android::PointerProperties*)’:
/home/dan/bzr/mir/dev/3rd_party/android-deps/cutils/log.h:421:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
     __android_log_print(prio, tag, __VA_ARGS__)
                                               ^
/home/dan/bzr/mir/dev/3rd_party/android-deps/cutils/log.h:357:5: note: in expansion of macro ‘android_printLog’
     android_printLog(priority, tag, __VA_ARGS__)
     ^
/home/dan/bzr/mir/dev/3rd_party/android-deps/cutils/log.h:349:5: note: in expansion of macro ‘LOG_PRI’
     LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
     ^
/home/dan/bzr/mir/dev/3rd_party/android-deps/cutils/log.h:143:27: note: in expansion of macro ‘ALOG’
 #define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
                           ^
/home/dan/bzr/mir/dev/3rd_party/android-input/android/frameworks/base/services/input/InputDispatcher.cpp:151:9: note: in expansion of macro ‘ALOGE’
         ALOGE("Motion event has invalid pointer count %d; value must be between 1 and %d.",
         ^

Related branches

summary: - Building Mir outputs lots of warnings about Android logging functions
+ Building Mir outputs lots of warnings about Android logging functions in
+ 3rd_party/
Changed in mir:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Daniel van Vugt (vanvugt)
milestone: none → 0.6.0
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir/devel at revision None, scheduled for release in mir, milestone Unknown

Changed in mir:
status: In Progress → Fix Committed
Changed in mir:
status: Fix Committed → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

mir (0.6.0+14.10.20140811-0ubuntu1) utopic; urgency=medium

Changed in mir (Ubuntu):
importance: Undecided → Low
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.