diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-03-03 11:57:20 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-04 15:59:05 +0100 |
commit | b22ef5966360b36d17cc38df16927d1637f05d08 (patch) | |
tree | 5fd8c3701bba006c0c632ac851c55fd19716342d /src/plugins/platforms/windows/qwindowsbackingstore.cpp | |
parent | f0d411cfbbfd463819e5456ec8ab695e990b56e4 (diff) |
Remove use of templates in tst_qatomicinteger.
MSVC 2008 is confused by TypeInStruct being a template, resulting in
\tst_qatomicinteger.cpp(189) : error C2027: use of undefined type 'QStaticAssertFailure<Test>'
with
[
Test=false
]
for int (and thus for all unsupported types). This appears to be a real
Heisenbug-nature compiler bug as it can also be fixed by adding
qDebug() << Q_ALIGNOF(TypeInStruct<T>)
before the static assert.
Task-number: QTBUG-37195
Change-Id: Ib2b60f3c1ffeb0b8bdeb1fb0c659655ce4ab10d8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsbackingstore.cpp')
0 files changed, 0 insertions, 0 deletions