test_drm_auth_magic.cpp:142:26: warning: ‘MirWaitHandle* mir_connection_drm_auth_magic(MirConnection*, unsigned int, mir_drm_auth_magic_callback, void*)’ is deprecated

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

Bug Description

These warnings recently started to appear during Mir builds:

/home/dan/bzr/mir/dev/tests/integration-tests/test_drm_auth_magic.cpp: In member function ‘virtual void BespokeDisplayServerTestFixture_client_drm_auth_magic_calls_platform_Test::TestBody()::Client::exec()’:
/home/dan/bzr/mir/dev/tests/integration-tests/test_drm_auth_magic.cpp:142:26: warning: ‘MirWaitHandle* mir_connection_drm_auth_magic(MirConnection*, unsigned int, mir_drm_auth_magic_callback, void*)’ is deprecated (declared at /home/dan/bzr/mir/dev/include/client/mir_toolkit/mir_client_library_drm.h:35): Use mir_connection_platform_operation() with operations from mir_toolkit/mesa/platform_operation.h [-Wdeprecated-declarations]
             mir_wait_for(mir_connection_drm_auth_magic(connection, magic,
                          ^
/home/dan/bzr/mir/dev/tests/integration-tests/test_drm_auth_magic.cpp:144:63: warning: ‘MirWaitHandle* mir_connection_drm_auth_magic(MirConnection*, unsigned int, mir_drm_auth_magic_callback, void*)’ is deprecated (declared at /home/dan/bzr/mir/dev/include/client/mir_toolkit/mir_client_library_drm.h:35): Use mir_connection_platform_operation() with operations from mir_toolkit/mesa/platform_operation.h [-Wdeprecated-declarations]
                                                        &status));
                                                               ^

Changed in mir:
importance: Medium → Low
Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

This is part of our deprecation strategy. The test code (and the warning) will be removed when we remove the corresponding deprecated client functions.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Don't forget our quality strategy - No warnings should be visible in builds so that real mistakes are obvious (and preferably treated as errors).

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

OK, we don't need to discuss: it is easy to link this to the (hypothetical ATM) ABI break MP and land that.

Revision history for this message
Michał Sawicz (saviq) wrote :

Syncing task from Mir.

Changed in mir (Ubuntu):
importance: Undecided → Low
status: New → Triaged
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.