Re: getline 'free' problem

2009-09-17 Thread Aron Nopanen
On 17/09/2009, at 2:42 AM, Jason Foreman wrote: On Sep 16, 2009, at 5:41 AM, Aron Nopanen wrote: On Snow Leopard (using gcc 4.2), I'm getting a 'double free' error in the guts of the C++ std::getline. The 'free' in question is being performed by std::string::reserve. This happens any time I

Re: getline 'free' problem

2009-09-16 Thread Jason Foreman
On Sep 16, 2009, at 5:41 AM, Aron Nopanen wrote: Hi All, Not a Cocoa problem as such, but not sure if there's a better list for it: For this question, Xcode-users is probably a better list. On Snow Leopard (using gcc 4.2), I'm getting a 'double free' error in the guts of the C++ std::g

getline 'free' problem

2009-09-16 Thread Aron Nopanen
Hi All, Not a Cocoa problem as such, but not sure if there's a better list for it: On Snow Leopard (using gcc 4.2), I'm getting a 'double free' error in the guts of the C++ std::getline. The 'free' in question is being performed by std::string::reserve. This happens any time I run 'getl