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

[cmake] -stdlib switch ends up on .c compile commands, causing warnings

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 6.3.0 Beta2
    • Build System: CMake
    • None
    • Ubuntu 20.4, Clang 10.0.0

      configure -platform linux-clang-libc++
      

    Description

      Building with -platform linux-clang-libc++, Clang warns:

      [84/455] Building C object qtbase/src/gui/CMakeFiles/Gui.dir/painting/qgrayraster.c.o
      clang: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
      

      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:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes