diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2017-03-28 11:18:13 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2017-03-28 11:14:37 +0000 |
commit | 81b5aa792f84747962cb05e0cf11708e4466bf30 (patch) | |
tree | c4e78af5166a1ec0e5e8edb0e402bb56853b34d5 /mkspecs | |
parent | 5d3b27f5210c0bac16e1bca7aacab39444556392 (diff) |
QCocoaWindow - fix a compilation error
Clang does not like Q_FALLTHROUGH in 'default' label, the diagnostics is:
'fallthrough annotation does not directly precede switch label'.
Accodring to their docs: "The fallthrough (or clang::fallthrough) attribute
is used to annotate intentional fall-through between switch labels. It can
only be applied to a null statement placed at a point of execution between
any statement and the next switch label." - obviously, there is no 'next
switch label' in our case.
Change-Id: Ia7dba4cb965a85d229d44b04b69633a8f07d4a0c
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions