Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
6.6.0
-
None
-
9205a4884 (dev), 6abde77c3 (6.6), b930d88c7 (dev), 20b4faee8 (6.6)
Description
Hi, I have and issue with shiboken6_generator that it fails with Could not parse -DQSIMD_H:
(kddockwidgets) clang_parseTranslationUnit2(0x0, cmd[40]=-isystem/usr/lib/llvm-16/lib/clang/16/include -fPIC -Wno-constant-logical-operand -x c++ -std=c++17 -I/
home/daniel/kdab/KDDockWidgets/src/fwd_headers -I/home/daniel/kdab/KDDockWidgets/src/fwd_headers/qtwidgets_pretty -I/home/daniel/kdab/KDDockWidgets/src/fwd_head
ers/qtquick -I/home/daniel/code/Qt/6.6.0/gcc_64/include/QtWidgets -I/home/daniel/code/Qt/6.6.0/gcc_64/include -I/home/daniel/code/Qt/6.6.0/gcc_64/include/QtCore
-I/home/daniel/code/Qt/6.6.0/gcc_64/include -I/home/daniel/code/Qt/6.6.0/gcc_64/mkspecs/linux-g++ -I/home/daniel/code/Qt/6.6.0/gcc_64/include -I/home/daniel/co
de/Qt/6.6.0/gcc_64/include/QtGui -I/home/daniel/code/Qt/6.6.0/gcc_64/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/home/daniel/code/Qt/
6.6.0/gcc_64/include/QtQuick -I/home/daniel/code/Qt/6.6.0/gcc_64/include -I/home/daniel/code/Qt/6.6.0/gcc_64/include/QtQml -I/home/daniel/code/Qt/6.6.0/gcc_64/i
nclude -I/home/daniel/code/Qt/6.6.0/gcc_64/include/QtQmlIntegration -I/home/daniel/code/Qt/6.6.0/gcc_64/include -I/home/daniel/code/Qt/6.6.0/gcc_64/include/QtNe
twork -I/home/daniel/code/Qt/6.6.0/gcc_64/include -I/home/daniel/code/Qt/6.6.0/gcc_64/include/QtQmlModels -I/home/daniel/code/Qt/6.6.0/gcc_64/include -I/home/da
niel/code/Qt/6.6.0/gcc_64/include/QtOpenGL -I/home/daniel/code/Qt/6.6.0/gcc_64/include -I/home/daniel/code/Qt/6.6.0/gcc_64/include/QtQuickControls2 -I/home/dani
el/code/Qt/6.6.0/gcc_64/include -I /tmp/kddockwidgets_global_hXCNyv.hpp "-DQT_ANNOTATE_ACCESS_SPECIFIER(a)=_attribute_((annotate(#a)))" "-DQT_ANNOTATE_CLASS(t
{{ype,...)=static_assert(sizeof(#_VA_ARGS_),#type);" -DQSIMD_H) }}
(kddockwidgets) Could not parse -DQSIMD_H, error code: 4
Issue can be observed at https://github.com/KDAB/KDDockWidgets/actions/runs/6633836709/job/18022262986
There is also some hardcoded paths for gcc in it which made me add this to workaround https://github.com/KDAB/KDDockWidgets/pull/413/files#diff-a2c4f795996f0b0878d6d6563ef77c824cff1be7f60577ef702b64b347355e87R46
Attachments
For Gerrit Dashboard: PYSIDE-2505 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
513950,3 | shiboken6: Improve API extractor command line arguments parsing | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
514267,2 | shiboken6: Improve API extractor command line arguments parsing | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
539789,3 | shiboken6: Skip empty tokens when parsing include path options | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
539803,2 | shiboken6: Skip empty tokens when parsing include path options | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |