[LyX/master] Make pit_type unsigned (in particular, size_t).
Jürgen Spitzmüller
spitz at lyx.org
Sun Apr 26 06:41:37 UTC 2020
Am Sonntag, den 26.04.2020, 04:34 +0200 schrieb Richard Kimberly Heck:
> commit b9e29418471d0d275650c52f976da300f4f42501
> Author: Richard Kimberly Heck <rikiheck at lyx.org>
> Date: Sat Apr 25 22:50:03 2020 -0400
>
> Make pit_type unsigned (in particular, size_t).
>
> This involves not just changing the type but checking that
> downward
> loops and similar tricks don't break.
Probably due to this I get the following compilation error now:
Buffer.cpp: In member function ‘std::unique_ptr<lyx::TexRow>
lyx::Buffer::getSourceCode(lyx::odocstream&, const string&,
lyx::pit_type, lyx::pit_type, lyx::Buffer::OutputWhat, bool) const’:
Buffer.cpp:4110:72: error: call of overloaded ‘bformat(const docstring,
lyx::pit_type&)’ is ambiguous
4110 | << bformat(_("Preview source code for paragraph %1$d"),
par_begin)
Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200426/47d119a8/attachment.asc>
More information about the lyx-devel
mailing list