Following is a patch to fix shfs-0.35-r1 compilation on gcc 4. Compiles on both gcc 4 and 3.3.
Created attachment 51035 [details, diff] gcc4-compilefix.patch
09 Jun 2005; Mark Loeser <halcy0n@gentoo.org> +files/0.35/shfs-0.35-gcc4.patch: Adding patch to fix compilation with GCC4 Fixed a couple of months ago, closing a stale bug.