Re: Linux v2.5.61

Bob Miller
2003-02-19T00:34:05Z

On Tue, Feb 18, 2003 at 03:14:07PM +0300, Oleg Drokin wrote:
> Hello!
>
> On Mon, Feb 17, 2003 at 11:35:07AM -0800, John Cherry wrote:
>
> > Warning summary
> [...]
> > fs/reiserfs: 1 warnings, 0 errors
>
> Note that this warning comes from asm/string.h, when compiling
> fs/reiserfs/prints.c
> Warning itself is "strchr is defined but not used". It have nothing
> to do with reiserfs at all. And I do not see why it is produced at all, since
> strchr is declared "static inline".
> (BTW, gcc 2.95 does not produces the warning).
> Can somebody look at it please?
>
> Bye,
> Oleg
I spent a little time looking at this weeks ago. I compiled the file
-E to see what the pre-processor was doing. I then tried to compile
the pre-processed file and the warning went away. So, it looks to me
like some kind of compiler error with the way it pre-processes files
(at that point the problem got a lot less interesting ;-).

--
Bob Miller Email: rem@osdl.org
Open Source Development Lab Phone: 503.626.2455 Ext. 17