hzhan0607 / cusp-library

Automatically exported from code.google.com/p/cusp-library
Apache License 2.0
0 stars 0 forks source link

MatrixMarket file reader fails on OSX #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Appears to be a problem with std::getline()

http://lists.apple.com/archives/cocoa-dev/2009/Sep/msg01199.html
http://stackoverflow.com/questions/2234557/c-using-getline-prints-pointer-being-
freed-was-not-allocated-in-xcode

Reported in cusp-user thread:
http://groups.google.com/group/cusp-users/browse_thread/thread/6aa484f775da2070?
hl=en

Original issue reported on code.google.com by wnbell on 8 May 2010 at 10:08

GoogleCodeExporter commented 8 years ago
I've reported it to Nvidia under bug #741549.

Original comment by filipe.c...@gmail.com on 9 Nov 2010 at 4:08

GoogleCodeExporter commented 8 years ago
Filipe, is the problem unique to nvcc or does it happen with plain g++?  I 
assumed the latter, but I never properly investigated it.

In any case, I think Steven's workaround in Revision 1aa90aa3df should solve 
the problem.  Please re-open the issue if you find otherwise.

Original comment by wnbell on 9 Nov 2010 at 4:14