lkml.org 
[lkml]   [2003]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux v2.5.61
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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.033 / U:1.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site