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

register deprecated warnings when compiling with clang 3.4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.1.1
    • 5.0.2
    • Core: URL Handling
    • None
    • Ubuntu Trusty: ubuntu 3.13.0-6-generic #23-Ubuntu
    • 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

            thiago Thiago Macieira
            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