`--os:standalone` gives `Error: system module needs: getCurrentException`

2023-01-19 Thread elcritch
> src/nimcache/stdlib_system.nim.cpp:6:10: fatal error: exception: No such file > or directory > #include You could try `--exceptions:goto` and see if it works better. I ran into a similar issue yesterday wrapping some C++ code with Nim that re-defined exception in the current namespace. In y

`--os:standalone` gives `Error: system module needs: getCurrentException`

2023-01-19 Thread ringabout
The type mismatch error on devel is probably related to

`--os:standalone` gives `Error: system module needs: getCurrentException`

2023-01-19 Thread ringabout
The devel doesn't crash, which is a good sign. The type mismatch error is probably related to

`--os:standalone` gives `Error: system module needs: getCurrentException`

2023-01-19 Thread thisago
I tried stable Nim and same, but with the devel version, the error is different: /home/user/.choosenim/toolchains/nim-#devel/lib/pure/unicode.nim(849, 36) Error: type mismatch: got 'int32' for 'RuneImpl(toLower(ar)) - RuneImpl(toLower(br))' but expected 'int' Run

`--os:standalone` gives `Error: system module needs: getCurrentException`

2023-01-19 Thread thisago
With `--panics:on -d:useMalloc --os:any --gc:arc` gives the same error: src/nimcache/stdlib_system.nim.cpp:6:10: fatal error: exception: No such file or directory #include ^~~ compilation terminated. *** [.pio/build/nanoatmega328/src/nimcache/stdli

`--os:standalone` gives `Error: system module needs: getCurrentException`

2023-01-19 Thread Hlaaftana
Maybe also `--panics:on`?

`--os:standalone` gives `Error: system module needs: getCurrentException`

2023-01-19 Thread thisago
Maybe related: But when using `--gc:arc --os:any -d:StandaloneHeapSize=1048576`, the error is: src/nimcache/stdlib_system.nim.cpp:6:10: fatal error: exception: No such file or directory #include ^~~ compi

`--os:standalone` gives `Error: system module needs: getCurrentException`

2023-01-19 Thread thisago
Any lib that uses `getCurrentExceptionMsg` gives this error, there's a way to declare a own `getCurrentExceptionMsg` that works in embedded?

`--os:standalone` gives `Error: system module needs: getCurrentException`

2023-01-19 Thread thisago
Shalom, I was using the [nim-platformio](https://github.com/markspanbroek/nim-platformio) and when I import strformat gives the error: `Error: system module needs: getCurrentException` works import pkg/arduino setup: pinMode(LED_BUILTIN, OUTPUT) loop:

nint128 - 128-bit integers

2023-01-19 Thread JohnAD
Huh. I _did_ ask that before. At least I'm consistent. :)

Looking for a pair programming partner / coach

2023-01-19 Thread mantielero
Is there any available public repo regarding this? I'd love to see its progress.