commit 63d8ca1667aa6fbe203b3df69886ead6ded37073
Author: Scott Kostyshak <[email protected]>
Date:   Tue Jul 1 10:27:49 2025 +0200

    lyxbuild: now we can compile with -Wheader-hygiene
---
 development/lyx-tester/lyxbuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/development/lyx-tester/lyxbuild b/development/lyx-tester/lyxbuild
index dd4a1ca5cb..267e3f03af 100755
--- a/development/lyx-tester/lyxbuild
+++ b/development/lyx-tester/lyxbuild
@@ -595,7 +595,6 @@ else
       # 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"
@@ -605,6 +604,9 @@ else
         # This option only works with Clang.
         CPPFLAGS+=";-ferror-limit=1"
 
+        # Helped for commits 22b35872 and b69abd49
+        CPPFLAGS+=";-Wheader-hygiene"
+
         # We state we require C++17.
         CPPFLAGS+=";-Wno-error=pre-c++17-compat"
         CPPFLAGS+=";-Wno-error=c++98-compat"
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to