Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-100270

qtconnectivity: Fix all compiler warnings on reference platforms

    XMLWordPrintable

Details

    • Task
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 6.3.0 Alpha

    Description

      Compiling qtconnectivity prints various compiler warnings. Fix or disable these, and then mark the repository as warning free by removing

      set(QT_REPO_NOT_WARNINGS_CLEAN TRUE)

      in qtconnectivity/CMakeLists.txt. This will ensure that no new warnings are introduced.

      Current warnings on Windows:

      [476/479] Building CXX object qtconnectivity\src\bluetooth...Bluetooth.dir\qbluetoothdevicediscoveryagent_winrt.cpp.obj
      C:\dev\qt\dev\src\qtconnectivity\src\bluetooth\qbluetoothdevicediscoveryagent_winrt.cpp(640): warning C4996: 'ABI::Windows::Devices::Bluetooth::IBluetoothDevice::get_RfcommServices': Use GetRfcommServicesAsync instead of RfcommServices.  For more info, see MSDN.
      C:\dev\qt\dev\src\qtconnectivity\src\bluetooth\qbluetoothdevicediscoveryagent_winrt.cpp(777): warning C4996: 'ABI::Windows::Devices::Bluetooth::IBluetoothLEDevice::get_GattServices': Use GetGattServicesAsync instead of GattServices.  For more information, see MSDN.
      [478/479] Building CXX object qtconnectivity\src\bluetooth\CMakeFiles\Bluetooth.dir\qlowenergycontroller_winrt.cpp.obj
      C:\dev\qt\dev\src\qtconnectivity\src\bluetooth\qlowenergycontroller_winrt.cpp(749): warning C4996: 'ABI::Windows::Devices::Bluetooth::IBluetoothLEDevice::GetGattService': Use GetGattServicesForUuidAsync instead of GetGattService.  For more information, see MSDN.
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ablasche Alex Blasche
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes