diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-11-17 10:35:58 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2017-11-18 06:58:33 +0000 |
commit | a4113d0c644edba1c39d9d268a259e95ae51c61e (patch) | |
tree | a241a2ad03bd592943cfcd9bd27a438ec02531d2 /mkspecs/linux-lsb-g++/qplatformdefs.h | |
parent | c4885b21d6d18364d931cb103bd5a7306748d9b8 (diff) |
qfloat16(float) constructor: explicit cast on aarch64 to avoid warning
The warning was
global/qfloat16.h: In constructor ‘qfloat16::qfloat16(float)’:
global/qfloat16.h:124:18: error: conversion to ‘__fp16’ from ‘float’ may alter its value [-Werror=float-conversion]
__fp16 f16 = f;
^
cc1plus: all warnings being treated as errors
The warning was added by fb5976038162d93d60c7f76376bbb4df38e83ba9.
Change-Id: I489348c4d5d672bfa5d4db99c837696a2a69a27e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'mkspecs/linux-lsb-g++/qplatformdefs.h')
0 files changed, 0 insertions, 0 deletions