You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failing command line in full:
Hi, it seems when we use C++ stringstream to copy double values, it fails if the number is followed by characters, like "1a" or "1n".
This happened when I tried to port a project muparser to Wasm. The code example could be seen as follows.
I also found a quite related issue: beltoforion/muparser#123 on MacOS, in which it describe quite similar behavior as I meet when compiling with Emscripten. The issue also points to a bug of LLVM here: llvm/llvm-project#18156.
I'm wondering if the similar behavior with Emscripten is also caused by that issue of LLVM?
Please include the following in your bug report:
Version of emscripten/emsdk:
3.1.54
Failing command line in full:
Hi, it seems when we use C++ stringstream to copy double values, it fails if the number is followed by characters, like "1a" or "1n".
This happened when I tried to port a project muparser to Wasm. The code example could be seen as follows.
I also found a quite related issue: beltoforion/muparser#123 on MacOS, in which it describe quite similar behavior as I meet when compiling with Emscripten. The issue also points to a bug of LLVM here: llvm/llvm-project#18156.
I'm wondering if the similar behavior with Emscripten is also caused by that issue of LLVM?
Thank you!
Code
Results
Expect to get the value 1, but failed in Wasm
The text was updated successfully, but these errors were encountered: