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

register deprecated warnings when compiling with clang 3.4

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.0.2
    • Fix Version/s: 5.1.1
    • Component/s: Core: URL Handling
    • Labels:
      None
    • Environment:
      Ubuntu Trusty: ubuntu 3.13.0-6-generic #23-Ubuntu
    • Commits:
      d9fb6e6dbb2b322556d581265da2442e3b91a6a3

      Description

      I'm getting a bunch of warnings when compiling with clang 3.4 and -std=c++11 -pedantic -Wall -Wextra:

      /usr/include/qt5/QtCore/qgenericatomic.h:177:13: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
      register T tmp = load(_q_value);
      ^~~~~~~~~
      /usr/include/qt5/QtCore/qgenericatomic.h:212:13: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
      register T tmp = BaseClass::load(_q_value);
      ^~~~~~~~~
      /usr/include/qt5/QtCore/qmetatype.h:688:5: warning: 'register' storage class specifier is deprecated
      [-Wdeprecated-register]
      register int id = qMetaTypeId<T>();
      ^~~~~~~~~

      It would be nice to not have this noise during compilation.

        Attachments

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

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            michihenning Michi Henning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes