commit 2764ed20c2a3294d4177189ba690a123238c87bd
Author: Kornel Benko <[email protected]>
Date: Fri Jan 21 11:02:09 2022 +0100
Omit runtime messages if compiled with clang using flag '-fsanitize'.
Setting sufficiently high value allows to use
ColorCode enums for new up to 32000 branch insets.
Previous setting printed messages if using more than 25 new branch insets.
"'ColorCode' ... src/Color.cpp:435:10: runtime error:
load of value 128, which is not a valid value for type"
---
src/ColorCode.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/ColorCode.h b/src/ColorCode.h
index f2f4521..e1a6b0a 100644
--- a/src/ColorCode.h
+++ b/src/ColorCode.h
@@ -238,7 +238,8 @@ enum ColorCode {
/// Color for regexp frame
Color_regexpframe,
/// For ignoring updates of a color
- Color_ignore
+ Color_ignore,
+ Color_max = 500
};
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs