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

moc fails to parse around QT_WARNING macros in Q_SIGNALS sections

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8.0 Beta1
    • Build tools: moc
    • None
    • 4111059b2 (dev), 9d89e28f1 (6.8)

    Description

      While trying to fix -Wvolatile warnings in tst_moc, I found out that moc barfs on QT_WARNING_PUSH blocks in (at least) Q_SIGNALS sections. It says "parse error" with the location being the ; of the signal declaration following QT_WARNING macro.

      Attachments

        For Gerrit Dashboard: QTBUG-126395
        # Subject Branch Project Status CR V

        Activity

          People

            fabiankosmale Fabian Kosmale
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes