Hi, Has anything changed in the qfloat16 implementation recently?
With qtbase head at 0dc377283b024cc65d6e8cd2126066ecbe753bea and ../../dev/qtbase/configure -developer-build -xcb -make tests ...and g++15.1.1 on openSuSE, I get this error: /home/axel/QtGit/dev/qtbase/src/corelib/doc/snippets/code/src_corelib_serialization_qcborstream.cpp: In function ‘void writeDouble(QCborStreamWriter&, double)’: /home/axel/QtGit/dev/qtbase/src/corelib/doc/snippets/code/src_corelib_serialization_qcborstream.cpp:164:24: error: conversion from ‘float’ to non-scalar type ‘qfloat16’ requested 164 | qfloat16 f16 = f; This fixes the problem: https://codereview.qt-project.org/c/qt/qtbase/+/664024 But I wonder how this can have merged: https://codereview.qt-project.org/c/qt/qtbase/+/663662 Thanks, Axel Confidential
-- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development