Re: Linux v2.5.61

From: Bob Miller (rem@osdl.org)
Date: Tue Feb 18 2003 - 19:43:31 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:23 EST