Details
Description
Trying to use shiboken2 for my project I get the following error when compiling the resulted source file:
error: expected primary-expression before ‘unsigned’
The code looks as follows:
if (PyErr_Occurred()) return unsigned int(0);
Looks like Shiboken forgets to add some braces around unsigned int.
$ llvm-config --version
6.0.0
Attachments
For Gerrit Dashboard: PYSIDE-846 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
245119,5 | shiboken: Generate static_cast for constructor parameters with space | 5.12 | pyside/pyside-setup | Status: MERGED | -2 | 0 |