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

shiboken generates code that cannot build in C++11

XMLWordPrintable

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

      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'.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes