[cfe-commits] Warning about <strings.h>
Eli Friedman
eli.friedman at gmail.com
Fri Jun 5 18:39:39 PDT 2009
On Fri, Jun 5, 2009 at 6:18 PM, Fariborz Jahanian<fjahanian at apple.com> wrote:
> % cat test.m
> #include <objc/Object.h>
>
> % clang-cc -fsyntax-only test.m
> warning: implicitly declaring C library function 'index' with type
> 'char *(char const *, int)'
> note: please include the header <strings.h> or explicitly provide a
> declaration for 'index'
> 2 diagnostics generated.
>
> I am getting this warning all over the place. Looks like a bug has
> been introduce in the past few hours.
r72882 is the checkin to blame, I think, but I'm not sure why it's messing up.
What the heck is up with that warning? It doesn't have location information!
-Eli
More information about the cfe-commits
mailing list