[llvm-bugs] [Bug 37571] Incorrect warning for mempcpy
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed May 23 19:10:30 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=37571
David Bolvansky <david.bolvansky at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #2 from David Bolvansky <david.bolvansky at gmail.com> ---
I used:
#include <stdio.h>
#include <stdlib.h>
#define _GNU_SOURCE
#include <string.h>
which triggered this error.
Everything is ok now with:
#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Quite interesting since mempcpy is in string.h
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180524/6d476a50/attachment.html>
More information about the llvm-bugs
mailing list