Skip to content

QVersionNumber: remove "pure" declaration from fromString()

Fabian Vogt requested to merge fvogt/qtbase:lesspure into kde/5.15
GCC doesn't like that we modify the contents of passed by pointer in the
pure function. Reading the description of this attribute in the GCC
manual was ambiguous then, but I can see the GCC maintainers'


Fixes: QTBUG-62185
Pick-to: 5.15 6.2 6.3
Change-Id: I6fcda969a9e9427198bffffd16cdf815d059d252
Reviewed-by: Marc Mutz <>
(cherry picked from commit 77923604130057261bf774b5cc32d849a595a1f0)
Edited by Fabian Vogt

Merge request reports