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.

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.

JMarc

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to