Expand debug to contain more than 31 cases
Kornel Benko
kornel at lyx.org
Tue Apr 19 09:07:23 UTC 2022
Am Tue, 19 Apr 2022 10:51:14 +0200
schrieb Jean-Marc Lasgouttes <lasgouttes at lyx.org>:
> Le 18/04/2022 à 12:21, Kornel Benko a écrit :
> > The output while debugging findadv is overwhelming, but sometimes
> > one needs only a small subset. Therefore the addition of -dbg findshort.
>
> Besides the discussion of FINDSHORT, I do not think that size_t is a
> good type, since the only guarantee is that it is more than 16 bits
> (even on 32bit architectures, it is probably 32 bits). int64_t is
> probably what you are after.
Yes. I had the (apparently wrong) impression that size_t == .
> Using int64_t instead of Debug::Type is indeed the thing to do for
> bitfields like this. However, it would be best to define this type as
> Debug::base_type or some simpler name if you have one in mind.
Like
typedef uint64_t Debug::base_type;
?
> JMarc
>
Kornel
--
lyx-devel mailing list
lyx-devel at lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220419/49c11be4/attachment.asc>
More information about the lyx-devel
mailing list