Details
Description
When compiling qtquick3d 6.4.1 on NetBSD 10.99.2/amd64 using the default compiler, gcc 10.4.0, I see:
qquick3dparticleemitter.cpp:723:84: error: no matching function for call to 'min(float, _gnu_cxx::enable_if<true, double>::_type)'
(for three lines)
Adding a cast fixes the issue for me, I'll attach a patch.
Attachments
For Gerrit Dashboard: QTBUG-110870 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
458114,2 | Fix std::min to build on gcc 10.4 on NetBSD | dev | qt/qtquick3d | Status: MERGED | +2 | 0 |
458273,2 | Fix std::min to build on gcc 10.4 on NetBSD | 6.5 | qt/qtquick3d | Status: MERGED | +2 | 0 |
458274,2 | Fix std::min to build on gcc 10.4 on NetBSD | 6.4 | qt/qtquick3d | Status: MERGED | +2 | 0 |