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

Warning while building qrc-generated files on gcc

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.3.2
    • Fix Version/s: 5.4.0 RC
    • Component/s: Build tools: rcc
    • Labels:
      None
    • Environment:
      gcc 4.9
    • Commits:
      e859de3fb5203579fbb4a6774bcdf59dc00404f9

      Description

      Additional building flag: -Wmissing-declarations
      Warning:
      no previous declaration for ‘int qInitResources_ResourceName()’
      no previous declaration for ‘int qCleanupResources_ResourceName()’
      Possible fix: add "static" before generated function, i.e. change
      int QT_MANGLE_NAMESPACE(qInitResources_ResourceName)()
      to
      static int QT_MANGLE_NAMESPACE(qInitResources_ResourceName)()

        Attachments

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

          Activity

            People

            Assignee:
            hjk hjk
            Reporter:
            woodroof Danil Ilinykh
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes