Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37768988
en ru br
ALT Linux repositórios
S:0.G-alt2

Group :: Jogos/Aventura
RPM: cataclysm-dda

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: gcc13-dangling-reference-warning.patch
Download


From da7e60543309405d3081437c6223dd28798f4c08 Mon Sep 17 00:00:00 2001
From: Maxime Bouillot <maxbouillot@gmail.com>
Date: Mon, 8 May 2023 18:20:18 +0200
Subject: [PATCH] Disable dangling reference warning
Forwarded: https://github.com/CleverRaven/Cataclysm-DDA/pull/65542
GCC 13 reports false positives of this warning.
---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 0c8298134f7eb..815065b14bbff 100644
--- a/Makefile
+++ b/Makefile
@@ -109,7 +109,8 @@ WARNINGS = \
   -Wsuggest-override \
   -Wunused-macros \
   -Wzero-as-null-pointer-constant \
-  -Wno-unknown-warning-option
+  -Wno-unknown-warning-option \
+  -Wno-dangling-reference
 # Uncomment below to disable warnings
 #WARNINGS = -w
 DEBUGSYMS = -g
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009