my os: arch linux 32
my very simple code:
echo 123
my command: nim --cc:tcc c -r n.nim
this will have an error:
lib/nim/system/atomics.nim(241, 5) Error: undeclared identifier: 'assert'
but clang and gcc works fine, how to fix it?
is a much more fully functional compiler and the "last release" which was many years ago.
The only outstanding issue with Nim I am aware of is that a Nim 1.0/0.0 can create an "INF" in C which the tcc mob branch would like to be spelled "__inf__", but that is easily patched/worked around.
thanks! cblake
lib/nim/system/atomics.nim 241
assert ...
change that line to
#assert ...
It works! but dont't know why?