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

qsound.h compile error with -pedantic

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.0.1
    • 5.0.0
    • Multimedia
    • None
    • 3df5999a07cfa8e23734cb939373cd4fe46fac74

    Description

      I include the qsound.h on OS X in a file I compile with the -pedantic option. This results in

      In file included from /Users/rms/Work/build/gcc42x64/5.0.0/master/src/wrappers/qt/squishidl_qsound.h:4,
      from /Users/rms/Work/build/gcc42x64/5.0.0/master/src/wrappers/qt/squishidl_qsound.cpp:1:
      /usr/local/Qt-5.0.0-gcc42x64-framework/5.0.0/clang_64/lib/QtMultimedia.framework/Versions/Current/Headers/qsound.h:60: error: comma at end of enumerator list

      So please change

      enum Loop

      { Infinite = -1, }

      ;

      to

      enum Loop

      { Infinite = -1 }

      ;

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            rms@froglogic.com Rainer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes