commit e9a19a41a11850409593d96661f6992e7ddfea4f
Author: Scott Kostyshak <[email protected]>
Date: Sat Jun 7 01:31:30 2025 +0200
lyx-tester: document building with more warnings
Can set the flags -Wextra and/or -pedantic.
---
development/lyx-tester/lyxbuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/development/lyx-tester/lyxbuild b/development/lyx-tester/lyxbuild
index 047b36c2b1..570243fba5 100755
--- a/development/lyx-tester/lyxbuild
+++ b/development/lyx-tester/lyxbuild
@@ -523,6 +523,8 @@ else
if [ "${WERROR}" = "1" ]; then
# should be a semi-colon separated list (if more than one option).
+ # Useful for finding more warnings:
+ # CPPFLAGS="-Werror;-Wextra;-pedantic"
CPPFLAGS="-Werror"
if [ "${clang}" = "0" ]; then
#
(https://stackoverflow.com/questions/5188267/checking-the-gcc-version-in-a-makefile)
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs