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

QNX support for qremoteobjects fails to build with newer C++ standards

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.1
    • Fix Version/s: None
    • Component/s: Remote Objects
    • Labels:
      None
    • Environment:
      QNX 7.1 x86_64
      GCC 8.3
      Qt build configured with -c++-std c++17
    • Platform/s:
      QNX

      Description

      In a few places a const pointer is assigned to the iov_base field of the iov_t structure, which is of type void *. Newer C++ does not allow such an assignment.

      QNX 7.1 addressed that by adding a iov_base_const field to the structure and providing a SETIOV_CONST macro, but for 7.0 there needs to be some way to define this locally (see the proposed patch - ugly, but works).

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              bstottle Brett Stottlemyer
              Reporter:
              elahav Elad Lahav
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes