edubart / nelua-lang

Minimal, efficient, statically-typed and meta-programmable systems programming language heavily inspired by Lua, which compiles to C and native code.
https://nelua.io
MIT License
2.07k stars 68 forks source link

Buggy behavior or missing some library flag somewhere? #279

Open stefanos82 opened 2 hours ago

stefanos82 commented 2 hours ago

Today I decided to have some fun with Nelua and tried to test different C and C++ compilers as my backend generators; that is TCC vs GCC vs clang vs clang++ as my --cc= options.

For some reason, clang++ coredumped with the following message:

image

Am I missing something from the command arguments @edubart or have I hit a bug somehow? :confused:

stefanos82 commented 2 hours ago

This is what backtrace looks like in gdb:

image