diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2016-05-11 10:41:47 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2016-05-11 09:21:52 +0000 |
commit | 531d00c1909527cb1bc28f17197267ccde408b0c (patch) | |
tree | 6eda4da3888c669571c29e6098bb2029b4510404 /tests/benchmarks/qml | |
parent | c6c0d730b7a88fa22f40d597183e91b73d9d165d (diff) |
QML: Fix anchors on Windows.
When using an enum type for a bitfield (i.e. Anchors foo : 7), MSVC will
somehow store (or interpret) it as signed, while clang/gcc will do it
unsigned. This behavior can be made less exciting by specifying the
storage type of the enum.
However, as the exception that confirms the rule: gcc 4.8 on OpenSUSE 13
will complain that it can't store all Anchor values in a 7 bit bitfield,
but ONLY when a base type for an enum is specified.
Change-Id: I7514dd613017d321de55560affb9b355fa75fa2e
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'tests/benchmarks/qml')
0 files changed, 0 insertions, 0 deletions