← Back to team overview

touch-packages team mailing list archive

[Bug 1348472] Re: clang emits lots of warnings about lttng headers

 

** Also affects: mir (Ubuntu RTM)
   Importance: Undecided
       Status: New

** Changed in: mir (Ubuntu RTM)
   Importance: Undecided => Low

** Changed in: mir (Ubuntu RTM)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1348472

Title:
  clang emits lots of warnings about lttng headers

Status in Mir:
  Fix Released
Status in “mir” package in Ubuntu:
  Triaged
Status in “mir” package in Ubuntu RTM:
  Triaged

Bug description:
  clang emits lots of warnings about lttng headers. We should fix or
  hide these...

  In file included from /home/dan/bzr/mir/warn/src/server/report/lttng/session_mediator_report.cpp:21:
  /home/dan/bzr/mir/warn/include/shared/mir/report/lttng/mir_tracepoint.h:36:9: warning: 
        Building with clang: Disabling LTTng tracepoints. [-W#pragma-messages]
  #pragma message "Building with clang: Disabling LTTng tracepoints."
          ^
  In file included from /home/dan/bzr/mir/warn/src/server/report/lttng/session_mediator_report.cpp:25:
  /home/dan/bzr/mir/warn/src/server/report/lttng/session_mediator_report_tp.h:42:1: warning: 
        unused function
        '__tracepoint_cb_mir_server_session_mediator___session_connect_called'
        [-Wunused-function]
  MIR_SESSION_MEDIATOR_EVENT(session_connect_called)
  ^
  /home/dan/bzr/mir/warn/src/server/report/lttng/session_mediator_report_tp.h:40:5: note: 
        expanded from macro 'MIR_SESSION_MEDIATOR_EVENT'
      TRACEPOINT_EVENT_INSTANCE(mir_server_session_mediator, application_e...
      ^
  /usr/include/lttng/tracepoint.h:512:2: note: expanded from macro
        'TRACEPOINT_EVENT_INSTANCE'
          _DECLARE_TRACEPOINT(provider, name, _TP_PARAMS(args))           \
          ^
  /usr/include/lttng/tracepoint.h:158:6: note: expanded from macro
        '_DECLARE_TRACEPOINT'
  void __tracepoint_cb_##_provider##___##_name(_TP_ARGS_PROTO(__VA_ARGS__)...
       ^
  <scratch space>:166:1: note: expanded from here
  __tracepoint_cb_mir_server_session_mediator___session_connect_called
  ^
  In file included from /home/dan/bzr/mir/warn/src/server/report/lttng/session_mediator_report.cpp:25:
  /home/dan/bzr/mir/warn/src/server/report/lttng/session_mediator_report_tp.h:43:1: warning: 
        unused function
        '__tracepoint_cb_mir_server_session_mediator___session_create_surface_called'
        [-Wunused-function]

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1348472/+subscriptions