h3rald / min

A small but practical concatenative programming language and shell
https://min-lang.org
MIT License
311 stars 23 forks source link

compile issue #45

Closed zenon closed 4 years ago

zenon commented 4 years ago

Hi Fabio,

I pulled min, and tried to

nim c -d:release min.nim

again. Got the following error:

Hint: min_math [Processing] lib/min_math.nim(34, 5) Error: undeclared identifier: 'formatValue'

(As I don't know Nim yet, I don' know where to look.)

(Linux Debian)

Kind greetings.

z.

SolitudeSF commented 4 years ago

what's your nim version?

zenon commented 4 years ago

Nim Compiler Version 0.19.4 Compiled at 2019-03-05

This is what nim -v tells me.

SolitudeSF commented 4 years ago

thats pretty old, could you try with the latest version?

zenon commented 4 years ago

I'll try. Thank you for the advise! :-)

zenon commented 4 years ago

Works! Thank you!

(I had to add the link for /usr/local/bin/x86_64-linux-musl-gcc but then it worked.)

And this way the

SIGSEGV: Illegal storage access. (Attempt to read from nil?)

I mentioned in https://github.com/h3rald/min/issues/43 vanished too. HTTP works now for me under Linux too.

h3rald commented 4 years ago

Oh well nothing to do here 😊

Thanks @SolitudeSF! And yes, that was a small change I made to fix a deprecation notice...