GeorgievLab / CeCe-core

CeCe core library
http://georgievlab.github.io/CeCe/
GNU General Public License v3.0
0 stars 1 forks source link

Unable to parse 5nl with libc++ #7

Closed NTSFka closed 7 years ago

NTSFka commented 7 years ago

libc++'s std::istream (used on macOS/OSX) parse 5nl differently than MSVC or libstdc++ version. It extract n character with float value and then fail. If this value is used as unit value string, the result unit value will be zero.

Fixing this will require rewrite units parsing code which is based on std::istream. Temporary solution is using different units like 0.005ul.

NTSFka commented 7 years ago

Fixed in new unit module (5c02e5e).