fixing name hiding and other Sun warnings

although we're not very interested in
supporting it, the Sun compiler did
point out some name hiding that could
cause trouble, and the format attribute
is easy enough to hide for non-GNU
compilers.