[LyX/master] Math: add a structure to hold font information.

Jean-Marc Lasgouttes lasgouttes at lyx.org
Tue Oct 29 19:22:29 UTC 2024


I am not sure what you mean, Pavel. Not using default: is better in general. We should use it only in cases where the number of enum members is too large(for example in dispatch+)).

If somebody adds an enum value later, we'll get a warning about it.

JMarc 

Le 29 octobre 2024 16:13:25 GMT+01:00, Pavel Sanda <sanda at lyx.org> a écrit :
>On Tue, Oct 29, 2024 at 01:26:18PM +0100, Thibaut Cuvelier wrote:
>> > 
>I think it is safer to accept the warning than losing the default in case someone
>adds something into the enum later or even gives parameter out of enum range.
>
>There might be some hint for compiler to ignore this warning.
>
>Pavel


More information about the lyx-devel mailing list