Re: 2.6.13-rc3-mm2

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

 



> A few more warnings in mostly the reiser4 code in this one compared to -mm1:
> 
> 
>   LD      fs/ramfs/ramfs.o
>   LD      fs/ramfs/built-in.o
>   LD      fs/reiser4/built-in.o
>   CC [M]  fs/reiser4/debug.o
> In file included from fs/reiser4/plugin/plugin.h:26,
>                  from fs/reiser4/jnode.h:19,
>                  from fs/reiser4/lock.h:16,
>                  from fs/reiser4/context.h:15,
>                  from fs/reiser4/debug.c:32:
> fs/reiser4/plugin/node/node40.h:83:5: warning: "GUESS_EXISTS" is not defined
>   CC [M]  fs/reiser4/jnode.o
> 
> 
> about 20 or so times during this part of the compilation, however it never 
> quite bombs out.

All these are caused by the stricter -Wundef
So if reiserfs uses:
#if GUESS_EXISTS
and GUESS_EXISTS are not defined then gcc will flag this warning.
The fix is easy - us:
#ifdef GUESS_EXISTS

Same goes for the other warnings you included in your post.

	Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux