Whoops, two more things. I think all the long long bits have to be guarded with the _GLIBCPP_USE_LONG_LONG macro. Also, _S_pword_ix has to be defined as well as declared. -benjamin