This should not have to be done: the char_traits bit is in namespace std:: and so should not need explicit qualification. Please don't apply this patch yet, as it covers up symptoms and doesn't solve the root cause of the problem. thanks, benjamin