diff options
Diffstat (limited to 'main/gcc/0006-Enable-Wformat-and-Wformat-security-by-default.patch')
-rw-r--r-- | main/gcc/0006-Enable-Wformat-and-Wformat-security-by-default.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/main/gcc/0006-Enable-Wformat-and-Wformat-security-by-default.patch b/main/gcc/0006-Enable-Wformat-and-Wformat-security-by-default.patch index 28a382694e2..55dff3692dc 100644 --- a/main/gcc/0006-Enable-Wformat-and-Wformat-security-by-default.patch +++ b/main/gcc/0006-Enable-Wformat-and-Wformat-security-by-default.patch @@ -1,17 +1,17 @@ -From b0a910fc67bee646dea31a05d0a99a05b45f971f Mon Sep 17 00:00:00 2001 +From bb25e8489384504cd59e4a2538720863da1fb29c Mon Sep 17 00:00:00 2001 From: Ariadne Conill <ariadne@dereferenced.org> Date: Fri, 21 Aug 2020 06:47:43 +0000 -Subject: [PATCH] Enable -Wformat and -Wformat-security by default. +Subject: [PATCH 06/35] Enable -Wformat and -Wformat-security by default. --- gcc/c-family/c.opt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt -index c49da99d395..93f25319005 100644 +index a75038930ae..b98726f33ed 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt -@@ -599,7 +599,7 @@ Warn about function calls with format strings that write past the end +@@ -704,7 +704,7 @@ Warn about function calls with format strings that write past the end of the destination region. Same as -Wformat-overflow=1. Wformat-security @@ -20,7 +20,7 @@ index c49da99d395..93f25319005 100644 Warn about possible security problems with format functions. Wformat-signedness -@@ -620,7 +620,7 @@ C ObjC C++ ObjC++ Var(warn_format_zero_length) Warning LangEnabledBy(C ObjC C++ +@@ -725,7 +725,7 @@ C ObjC C++ ObjC++ Var(warn_format_zero_length) Warning LangEnabledBy(C ObjC C++ Warn about zero-length formats. Wformat= @@ -30,5 +30,5 @@ index c49da99d395..93f25319005 100644 Wformat-overflow= -- -2.33.0 +2.41.0 |