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

shiboken generates code that cannot build in C++11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 1.1.0
    • Shiboken
    • None

    Description

      The code generated by shiboken for an argument of type "char*" causes the error "unable to find string literal operator 'operator"" SBK_STR_NAME'" when building in C++11 mode.

      This is because the code 'SBK_STR_NAME""' is considered a string prefix in C++11. This can be fixed by adding spaces before and after 'SBK_STR_NAME'.

      Attachments

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

        Activity

          People

            jpe John Ehresman
            matthew.woehlke Matthew Woehlke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes