summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-09-22 08:55:52 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-09-22 09:01:18 (GMT)
commita9af4502e50bcbe80ff93fabb2da7f07a1dcf53b (patch)
tree3930c3622321bdccde01d5a01856a8bd3640659d /src/network
parent9333dd84757086c93b95a60e66f891883c36974e (diff)
downloadQt-a9af4502e50bcbe80ff93fabb2da7f07a1dcf53b.zip
Qt-a9af4502e50bcbe80ff93fabb2da7f07a1dcf53b.tar.gz
Qt-a9af4502e50bcbe80ff93fabb2da7f07a1dcf53b.tar.bz2
Make the de-inlined isRightToLeft not get called from updateProperties
Before Qt 4.7, QString::isRightToLeft was an inline function that called QString::updateProperties(). In Qt 4.7, QString::isRightToLeft was de-inlined and is now called from QString::updateProperties(). According to the Binary Compatibility Guidelines, it's ok to de-inline a function provided that it's ok the old method is called. Under some rare circumstances nowadays, the old method could be called from updateProperties(), which would result in an infinite loop (updateProperties -> isRightToLeft -> updateProperties -> ...) This is usually prevented by -fvisibility-inlines-hidden in GCC (automatic in Qt) and also by -Wl,-Bsymbolic-functions (not automatic, must pass -reduced-relocations to configure). Reviewed-by: Bradley T. Hughes
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions