It's an error in the function declarations and an overly picky C++ compiler.

Not that gcc 3.2.1 doesn't have bugs in its namespace resolution as well... :-P