Details
-
Bug
-
Status: Closed
-
P1: Critical
-
Resolution: Done
-
6.4
-
None
-
14c82b3a9a (qt/qtquick3d/dev) 14c82b3a9a (qt/qtquick3d/6.4)
Description
After commit https://codereview.qt-project.org/c/qt/qtquick3d/+/402727 no-opengl build fails
agent:2022/04/01 07:14:30 build.go:394: | /home/qt/work/build/build/tmp/work/x86_64-linux/qtquick3d-native/6.4.0-r0/git/src/runtimerender/qssgrendershadercache.cpp: In function ‘void initBaker(QShaderBaker*, QRhi*)’: agent:2022/04/01 07:14:30 build.go:394: | /home/qt/work/build/build/tmp/work/x86_64-linux/qtquick3d-native/6.4.0-r0/git/src/runtimerender/qssgrendershadercache.cpp:131:36: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] agent:2022/04/01 07:14:30 build.go:394: | 131 | auto h = static_cast<const QRhiGles2NativeHandles *>(rhi->nativeHandles()); agent:2022/04/01 07:14:30 build.go:394: | | ^~~~~~~~~~~~~~~~~~~~~~ agent:2022/04/01 07:14:30 build.go:394: | /home/qt/work/build/build/tmp/work/x86_64-linux/qtquick3d-native/6.4.0-r0/git/src/runtimerender/qssgrendershadercache.cpp:131:36: error: expected ‘>’ before ‘QRhiGles2NativeHandles’ agent:2022/04/01 07:14:30 build.go:394: | /home/qt/work/build/build/tmp/work/x86_64-linux/qtquick3d-native/6.4.0-r0/git/src/runtimerender/qssgrendershadercache.cpp:131:36: error: expected ‘(’ before ‘QRhiGles2NativeHandles’ agent:2022/04/01 07:14:30 build.go:394: | 131 | auto h = static_cast<const QRhiGles2NativeHandles *>(rhi->nativeHandles()); agent:2022/04/01 07:14:30 build.go:394: | | ^~~~~~~~~~~~~~~~~~~~~~ agent:2022/04/01 07:14:30 build.go:394: | | ( agent:2022/04/01 07:14:30 build.go:394: | /home/qt/work/build/build/tmp/work/x86_64-linux/qtquick3d-native/6.4.0-r0/git/src/runtimerender/qssgrendershadercache.cpp:131:36: error: ‘QRhiGles2NativeHandles’ was not declared in this scope; did you mean ‘QRhiNativeHandles’? agent:2022/04/01 07:14:30 build.go:394: | 131 | auto h = static_cast<const QRhiGles2NativeHandles *>(rhi->nativeHandles()); agent:2022/04/01 07:14:30 build.go:394: | | ^~~~~~~~~~~~~~~~~~~~~~ agent:2022/04/01 07:14:30 build.go:394: | | QRhiNativeHandles agent:2022/04/01 07:14:30 build.go:394: | /home/qt/work/build/build/tmp/work/x86_64-linux/qtquick3d-native/6.4.0-r0/git/src/runtimerender/qssgrendershadercache.cpp:131:60: error: expected primary-expression before ‘>’ token agent:2022/04/01 07:14:30 build.go:394: | 131 | auto h = static_cast<const QRhiGles2NativeHandles *>(rhi->nativeHandles()); agent:2022/04/01 07:14:30 build.go:394: | | ^ agent:2022/04/01 07:14:30 build.go:394: | /home/qt/work/build/build/tmp/work/x86_64-linux/qtquick3d-native/6.4.0-r0/git/src/runtimerender/qssgrendershadercache.cpp:131:83: error: expected ‘)’ before ‘;’ token agent:2022/04/01 07:14:30 build.go:394: | 131 | auto h = static_cast<const QRhiGles2NativeHandles *>(rhi->nativeHandles()); agent:2022/04/01 07:14:30 build.go:394: | | ^ agent:2022/04/01 07:14:30 build.go:394: | | )