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

moc does not parse 'enum class'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P5: Not important
    • None
    • 5.8
    • Build tools: moc
    • None
    • Linux

    Description

      Trying to compile KDE's kwin with qtbase 5.8 branch, I get this error:

      AUTOGEN: error: process for /local/build/kde/plasma/kwin/autotests/integration/decoration_input_test.moc failed:
      local/kde/plasma/include/KDecoration2/kdecoration2/decorationdefines.:96: Parse error at "{"

      Line 96 in decorationdefines.h reads:

      enum class BorderSize {

      Attachments

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

        Activity

          People

            ogoffart Olivier Goffart (Woboq GmbH)
            cfeck Christoph Feck
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes