Thanks, I see now. Could you try std::string::size_type instead of size_t ? See eg http://stackoverflow.com/questions/1181079/stringsize-type-instead-of-int I would hate to see us drop generality here just because you happen to work with a peculiar compiler. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org