From: Marek Polacek Date: Fri, 2 May 2014 18:07:40 +0000 (+0000) Subject: * c.opt (Wsizeof-pointer-memaccess): Describe option. X-Git-Tag: releases/gcc-5.1.0~7806 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6577374eaa1de4e387f4a67c300133922dd52707;p=thirdparty%2Fgcc.git * c.opt (Wsizeof-pointer-memaccess): Describe option. From-SVN: r210011 --- diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index fddfcd8c2f04..3c9732395d36 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2014-05-02 Marek Polacek + + * c.opt (Wsizeof-pointer-memaccess): Describe option. + 2014-05-01 Marek Polacek PR c/43245 diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index 1bbb81c8425b..7aa9e23c10e4 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -516,6 +516,7 @@ Warn about missing fields in struct initializers Wsizeof-pointer-memaccess C ObjC C++ ObjC++ Var(warn_sizeof_pointer_memaccess) Warning LangEnabledBy(C ObjC C++ ObjC++,Wall) +Warn about suspicious length parameters to certain string functions if the argument uses sizeof Wsuggest-attribute=format C ObjC C++ ObjC++ Var(warn_suggest_attribute_format) Warning