Commit 7ebf21e0 authored by Thiago Macieira's avatar Thiago Macieira Committed by The Qt Project
Browse files

Defer enabling std::atomic on GCC until GCC 4.7


The implementation that GCC came with from 4.4 to 4.6 used external
locks for most platforms, other than x86. It's unsuitable to be called
"atomic" at all. More importantly, it's not behaviour-compatible with
Qt's own QBasicAtomic classes.

Change-Id: I92a0beab58504e6bd7cd236d358fef905c69821c
Reviewed-by: default avatarOlivier Goffart <ogoffart@woboq.com>
parent ea461b78
No related merge requests found
Showing with 5 additions and 1 deletion
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment