Looking into this further, it seems to be related to the use of libc++ instead of libstdc++, hence mostly OSX related.
The extraction operator (ss >> number, see patch above) in libc++ fails but still consumes a few characters, whereas in libstdc++ it fails also but does not consume them. This seems somewhat related to http://llvm.org/bugs/show_bug.cgi?id=15154.
Could someone with OSX Mavericks and macports check that there is indeed an issue as described in the bug report? Simplest would be to use the inkscape-devel port.
Looking into this further, it seems to be related to the use of libc++ instead of libstdc++, hence mostly OSX related.
The extraction operator (ss >> number, see patch above) in libc++ fails but still consumes a few characters, whereas in libstdc++ it fails also but does not consume them. This seems somewhat related to http:// llvm.org/ bugs/show_ bug.cgi? id=15154.
Could someone with OSX Mavericks and macports check that there is indeed an issue as described in the bug report? Simplest would be to use the inkscape-devel port.