[cfe-dev] global variable named index
Chris Lattner
clattner at apple.com
Sun Oct 11 20:57:41 PDT 2009
On Oct 11, 2009, at 8:55 PM, Vasudev.Negi at microchip.com wrote:
> If I have a global variable named index, clang-cc throws an error
> saying redefinition of index as different kind of symbol. Why can’t
> I have a variable named index?
>
'index' is the name of a function defined by the C standard library.
Try 'man index' on the command line.
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091011/5dac519d/attachment.html>
More information about the cfe-dev
mailing list