Skip to content

ANGLE: Fix compilation on GCC 11

Johannes Kauffmann requested to merge jkauffmann/qtbase:fix-angle-gcc11 into kde/5.15

GCC 11 no longer transitively includes <limits>, needed for std::numeric_limits<T>::max and friends, and thus compilation breaks.

Backport from angle upstream at 1b908d0a7ec791fdb856eff56f6bd2da9f93759e.

Edited: the Qt5 version of angle doesn't have the <functional> include.


This is unlikely to be accepted upstream at Qt, since they removed ANGLE in qtbase 75249791, shortly after closing the 5.15 branch and starting work on Qt6.

Edited by Johannes Kauffmann

Merge request reports

Loading