However this appears to a Clang bug, in that it reports an incorrect warning,
probably it gets confused by the casts. I cannot actually trigger this code
to run, but in my small testcase, code like this generated the warning, but
worked normally. So I expect that whenever somebody actually reaches this
code, this will assert needlessly.
OK. I was afraid of that (and secretly hoped the assert would be
triggered soon enough and thus force the issue to be investigated by
some expert). But even better that you investigated it voluntarily,
thanks a million!
--tml
Context
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.