Hi guys,
just to add another really non-elegant option: simply add an x64 platform to your solution and code in that one. Switch back to MSFS for compilation only.
Greets,
Ben
Hi guys,
just to add another really non-elegant option: simply add an x64 platform to your solution and code in that one. Switch back to MSFS for compilation only.
Greets,
Ben
Thanks, thatās the best solution so far. I guess x86 even better as WASM is 32bit.
Hi guys, this is what I get with and without hacks.h
but this works good:
std::string s3 = "asd" + std::to_string(1);
regards
ROB
Yep, totally annoying. Still havenāt found a workaround besides peppering my code with āignore Intellisenseā comments next to these bogus errors (not just with strings, either). Seems to have gotten worse even (more bogus warnings) after some SDK update in the past year. Itās almost worth disabling IS for the WASM code altogether (if I could figure out how to do that per code unit).
And yes specifying the string size in the string
cātor will remove those warnings, but thatās silly. I refuse to change one speck of code just to please an interpreter that thinks too highly of itself.