I'm now getting the following error when I build with MSVC 2015:
[build CXX] vcl/win/gdi/winlayout.cxx
C:/core/vcl/win/gdi/winlayout.cxx(3533): error C2397: conversion from 'double' to 'FLOAT' requires
a narrowing conversion
C:/core/solenv/gbuild/LinkTarget.mk:189: recipe for target
'C:/core/workdir/CxxObject/vcl/win/gdi/winlayout.o' failed
make[1]: *** [C:/core/workdir/CxxObject/vcl/win/gdi/winlayout.o] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:266: recipe for target 'build' failed
make: *** [build] Error 2
It looks like the source of the failure is:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=3d456dfa6637c6c3ebe7a21f1f1a5b05039cee2a
with
3533: mpRT->DrawGlyphRun({ baseline.x, baseline.y + nYDiff }, &glyphs, pBrush);
Khaled, Could you please take a look at this?
Context
- MSVC 2015 Error C2397: conversion from 'double' to 'FLOAT' requires a narrowing conversion · Luke Benes
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.