Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-312

Preprocessor does not expand macros in macro bodies, leading to parser errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: dev
    • Fix Version/s: 5.11.0
    • Component/s: Shiboken
    • Labels:

      Description

      The c preprocessor bundled with Shiboken does not support expanding macros that are inside other macro bodies. This leads to the final preprocessed translation unit having invalid c++ identifiers, which causes the c++ parser to issue errors.
      By default the errors are not printed though, so they fail silently.

        Attachments

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

          Activity

            People

            Assignee:
            kleint Friedemann Kleint
            Reporter:
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes