[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] warning: built-in function `index' declared as non-fu

From: Joerg Wunsch
Subject: Re: [avr-gcc-list] warning: built-in function `index' declared as non-function
Date: Fri, 9 May 2003 13:15:06 +0200 (MET DST)

"George Kalovyrnas" <address@hidden> wrote:

> In my program I have declare a variable "unsigned short index".  In
> compilation I get: "warning: built-in function `index' declared as
> non-function".

Strange that i've never seen that so far (i have used "index" as a
variable name occasionally before), but the historical note is that
index() used to be an alias name for strchr() (in old BSDs), so
obviously, gcc has some knowledge about this.

J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]