This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: warn on memset with constant length 0
On 15/12/06, Manuel LÃpez-IbÃÃez <email@example.com> wrote:
Why don't you use this instead ?
C ObjC C++ ObjC++ Var(warn_memset) Init(-1)
Warn about possible bad uses of \"memset\"
Sorry, I was thinking here that Wmemset was enabled by Wextra. Since
it is enabled by Wall and those two work in different ways, then
Init(-1) must be dropped. (I think, second opinions are welcome).