From 7ae1dcbb04dd6e742de6331bec1be8ccf2e3bb47 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Mon, 26 Oct 2020 10:28:06 +0100 Subject: Remove QT_NO_FLOAT16_OPERATORS macro It's documented to be a workaround for VC++2017 and earlier, which are all not supported in Qt 6 anymore. VC++2019 does not show the problem. Change-Id: Ie66b303a75bb5791675fc9e62bf4a84510068d6d Reviewed-by: Keith Kyzivat Reviewed-by: Thiago Macieira --- src/corelib/global/qfloat16.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/corelib/global/qfloat16.cpp') diff --git a/src/corelib/global/qfloat16.cpp b/src/corelib/global/qfloat16.cpp index 05f03d0370..7dd2f7b331 100644 --- a/src/corelib/global/qfloat16.cpp +++ b/src/corelib/global/qfloat16.cpp @@ -72,19 +72,6 @@ QT_BEGIN_NAMESPACE \since 5.9 */ -/*! - \macro QT_NO_FLOAT16_OPERATORS - \relates qfloat16 - \since 5.12.4 - - Defining this macro disables the arithmetic operators for qfloat16. - - This is only necessary on Visual Studio 2017 (and earlier) when including - \c {} and \c{} in the same translation unit, which would - otherwise cause a compilation error due to a toolchain bug (see - [QTBUG-72073]). -*/ - /*! \fn bool qIsInf(qfloat16 f) \relates qfloat16 -- cgit v1.2.3