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

[REG] -platform linux-clang-libc++ -c++std c++2b fails to compile synctqt

    XMLWordPrintable

Details

    • 7a70c6fcf (dev), 9d11e5019 (dev), b98468002 (6.6), da129551f (6.5), e732fec47 (6.5)

    Description

      • *GIVEN*: a configuration which combines -platform linux-clang-libc++ and -c++std c++2b
      • *WHEN*: trying to build
      • *THEN*: the build fails with
          Target "syncqt" requires the language dialect "CXX23" (with compiler
          extensions).  But the current compiler "GNU" does not support this, or
          CMake does not know the flags to enable it.
        

      It seems syncqt is always built with GNU-C++, even with -platform linux-clang, but the C++-standard is taken from -c++std.

      Expected:

      • either syncqt is build with the host compiler as requested by -platform, or
      • CXX_STANDARD is hard-coded to what syncqt actually needs, not what was passed as -c++std.

      Log file (with GCC and Clang versions, as well as config.opt) attached.

      Attachments

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

        Activity

          People

            semlanik Alexey Edelev
            mmutz Marc Mutz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: