commit 7bb9fa3a77c358913db941e2f04b9b3fb50e9ac0
Author: Scott Kostyshak <[email protected]>
Date: Mon Jun 30 22:55:02 2025 +0200
lyxbuild: sort warnings discussed on lyx-devel
Turn off the warnings discussed on lyx-devel for now. Some of them
may make sense to address, but for now I am just organizing.
---
development/lyx-tester/lyxbuild | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/development/lyx-tester/lyxbuild b/development/lyx-tester/lyxbuild
index d5dcfacbdb..dd4a1ca5cb 100755
--- a/development/lyx-tester/lyxbuild
+++ b/development/lyx-tester/lyxbuild
@@ -591,6 +591,35 @@ else
# on unconditionally.
if [ "${current_branch}" = "master" ]; then
CPPFLAGS="-Werror;-Wextra;-pedantic;-Wextra-semi"
+
+ # fixed one instance of this (c0ccedd0)
+ CPPFLAGS+=";-Wmissing-include-dirs"
+
+
+ # todo: lyx-devel says it would be good to clean these up.
+ #
(https://www.mail-archive.com/search?l=mid&q=4cee06c8-0646-4f1a-b81f-409d6de33a4b%40gmail.com)
+ #CPPFLAGS="-Wshadow"
+
+ # Stop and give error immediately on first error.
+ if [ "${clang}" = "1" ]; then
+ # This option only works with Clang.
+ CPPFLAGS+=";-ferror-limit=1"
+
+ # We state we require C++17.
+ CPPFLAGS+=";-Wno-error=pre-c++17-compat"
+ CPPFLAGS+=";-Wno-error=c++98-compat"
+
+ # Good candidates to clean up, but not urgent.
+ #
+ #
(https://www.mail-archive.com/search?l=mid&q=dy5v4r6k5ifynwg46bbcp4rtcd5if7jl5wlnamqoicotorlvfe%405vep6fwux6yj)
+ CPPFLAGS+=";-Wno-error=implicit-int-float-conversion"
+ fi
+
+ # Good candidates to clean up, but not urgent.
+ #
+ #
(https://www.mail-archive.com/search?l=mid&q=x33ucwxt5nvx2olovrq47tmpkai4322r6mrdyiuz7ymbqdbogy%40yqusr5vw7ctr)
+ CPPFLAGS+=";-Wno-error=float-equal"
+
else
CPPFLAGS=""
fi
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs