wok-next annotate gcc/stuff/patches/011_all_default-warn-format-security.patch @ rev 21726

updated firefox-official (77.0 -> 81.0)
author Hans-G?nter Theisgen
date Sun Sep 27 14:34:31 2020 +0100 (2020-09-27)
parents
children
rev   line source
al@21060 1 Enable -Wformat and -Wformat-security by default.
al@21060 2
al@21060 3 --- a/gcc/c-family/c.opt 2016-03-23 18:51:56.000000000 +0100
al@21060 4 +++ b/gcc/c-family/c.opt 2016-04-28 23:45:54.063351272 +0200
al@21060 5 @@ -459,7 +459,7 @@ C ObjC C++ ObjC++ Var(warn_format_nonlit
al@21060 6 Warn about format strings that are not literals.
al@21060 7
al@21060 8 Wformat-security
al@21060 9 -C ObjC C++ ObjC++ Var(warn_format_security) Warning LangEnabledBy(C ObjC C++ ObjC++,Wformat=, warn_format >= 2, 0)
al@21060 10 +C ObjC C++ ObjC++ Var(warn_format_security) Init(1) Warning LangEnabledBy(C ObjC C++ ObjC++,Wformat=, warn_format >= 2, 0)
al@21060 11 Warn about possible security problems with format functions.
al@21060 12
al@21060 13 Wformat-signedness
al@21060 14 @@ -475,7 +475,7 @@ C ObjC C++ ObjC++ Var(warn_format_zero_l
al@21060 15 Warn about zero-length formats.
al@21060 16
al@21060 17 Wformat=
al@21060 18 -C ObjC C++ ObjC++ Joined RejectNegative UInteger Var(warn_format) Warning LangEnabledBy(C ObjC C++ ObjC++,Wall, 1, 0) IntegerRange(0, 2)
al@21060 19 +C ObjC C++ ObjC++ Joined RejectNegative UInteger Var(warn_format) Init(1) Warning LangEnabledBy(C ObjC C++ ObjC++,Wall, 1, 0) IntegerRange(0, 2)
al@21060 20 Warn about printf/scanf/strftime/strfmon format string anomalies.
al@21060 21
al@21060 22 Wignored-qualifiers