commit be62b6176a0f7f5e9fc9d3f7f17b64d6163cf210
Author: Scott Kostyshak <[email protected]>
Date: Fri Jul 4 18:11:26 2025 +0200
lyxbuild: turn on -Wdouble-promotion
After 59aa3e04, there are no more of these warnings.
---
development/lyx-tester/lyxbuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/development/lyx-tester/lyxbuild b/development/lyx-tester/lyxbuild
index ca3ea0919f..60ea181d03 100755
--- a/development/lyx-tester/lyxbuild
+++ b/development/lyx-tester/lyxbuild
@@ -721,9 +721,9 @@ else
# TODO: lots of warnings
# Warns when case statements fall-through. (Included with -Wextra in
GCC, not in clang)
CPPFLAGS+=";-Wno-implicit-fallthrough"
+ # Helped with commit 59aa3e04 (only Clang found those two warnings).
# warn if float is implicitly promoted to double
- # TODO: only a couple warnings: look into them?
- CPPFLAGS+=";-Wno-double-promotion"
+ CPPFLAGS+=";-Wdouble-promotion"
#-Wmisleading-indentation (only in GCC >= 6.0) warn if indentation
implies blocks where blocks do not exist
CPPFLAGS+=";-Wmisleading-indentation"
# TODO: lots of warnings
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs