commit e16aa359bd8ccc129e06e8adb6a9abc4180f04de
Author: Scott Kostyshak <skost...@lyx.org>
Date:   Thu Jun 12 10:26:35 2025 +0200

    lyxbuild: remove global GCC disable of a warning
    
    lyxbuild was using -Wno-error=dangling-reference as a global flag,
    but the warnings have been muted more carefully at c2653e45.
---
 development/lyx-tester/lyxbuild | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/development/lyx-tester/lyxbuild b/development/lyx-tester/lyxbuild
index 0da0d7d7ab..3f0ba89905 100755
--- a/development/lyx-tester/lyxbuild
+++ b/development/lyx-tester/lyxbuild
@@ -530,19 +530,6 @@ else
     #
     # CPPFLAGS="-Werror;-Wextra;-pedantic"
     CPPFLAGS="-Werror;-Wextra"
-    if [ "${clang}" = "0" ]; then
-      # 
(https://stackoverflow.com/questions/5188267/checking-the-gcc-version-in-a-makefile)
-      # (https://stackoverflow.com/a/17947005)
-      gcc_version="$( gcc -dumpfullversion -dumpversion | sed -e 
's/\.\([0-9][0-9]\)/\1/g' -e 's/\.\([0-9]\)/0\1/g' -e 's/^[0-9]\{3,4\}$/&00/')"
-      if [ "${gcc_version}" -ge "130000" ]; then
-        # turn all warnings into errors except for one:
-        #
-        # 'dangling-reference' is starting with GCC 13.
-        # In LyX, we get it in a few places and are not sure if they are
-        # false-positives, or if it's worth it to fix them.
-        CPPFLAGS+=";-Wno-error=dangling-reference"
-      fi
-    fi
   else
     CPPFLAGS=""
   fi
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to