diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-01 18:37:36 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-02 17:40:29 +0000 |
commit | 392294936ed14ee75b3d1cdae559bd41bbf63ef2 (patch) | |
tree | 28c203fc1160e5f387cbcd98411c7ff8de430977 /src/widgets/widgets/qmenu.cpp | |
parent | 8241d51f7049d48912ce25fbd49ef4d22c58e340 (diff) |
qfloat16: suppress warning caused by Clang macro we used
Clang implements the _cvtss_sh intrinsic by way of a macro, which
uses a C99 extension and that's not allowed in C++ mode:
float16.h:119:11: error: compound literals are a C99-specific feature [-Werror,-Wc99-extensions]
/usr/bin/../lib64/clang/3.9.1/include/f16cintrin.h:76:55: note: expanded from macro '_cvtss_sh'
Reported at https://bugs.llvm.org/show_bug.cgi?id=32491.
Change-Id: I27b55fdf514247549455fffd14b170df75dd4e1f
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/widgets/widgets/qmenu.cpp')
0 files changed, 0 insertions, 0 deletions