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

Clang on Windows warning due to 'shared' in '#pragma section'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 6.6.0
    • 6.4.3
    • Core: Other
    • None
    • Windows 10; Clang 15.0.1/16.0.6, LLVM and MSVC versions
    • Windows
    • 97b32fa0b661c5dd89d525122427496132abb54a (qtbase/dev)

    Description

      When QtCore 6.4.3 is built with Clang 15.0.1 or Clang 16.0.6 on Windows 10 (LLVM and MSVC versions) I get the following warning:

      qversiontagging.h:90:13: warning: known but unsupported action 'shared' for '#pragma section' - ignored [-Wignored-pragmas] # pragma section(".qtversion",read,shared)

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            francoisk777 Francois Kritzinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes