Revision bafd3fdf1c72040abbf7ddf354f6b1c15c9985a4 authored by Thiago Macieira on 26 March 2013, 00:30:26 UTC, committed by The Qt Project on 26 March 2013, 20:44:15 UTC
Since qCpuHasFeature() checks the static qCompilerCpuFeatures variable
and that variable's value might change depending on the compiler flags,
it's best to ensure that the function is not subject to link-time
merging. That would be bad if it happened when qCpuHasFeature() was used
from a file with higher CPU compiler settings than the default, as it
would incorrectly conclude that certain features are always available.

Change-Id: I8bacde056fb89869ec1d306a163742e72522315e
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
1 parent 03d057f
History
File Mode Size
global
src
README -rw-r--r-- 3.6 KB

README

back to top