After applying the following four patches to my perl-current, I can compile miniperl without any warnings at all. I'm not wise in the realms of extensions, but this set of patches is the most I can do for core perl to make it compile cleanly. Hope this helps :) R.