You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just want to add that I can confirm this in any Carp REPL, not just in emacs. Calling (main) will result in emitted C code that is missing its main function, weirdly.
This issue is seen as of SHA 8440398
With reference to
examples/arrays.carp
Eval buffer in REPL (bound to
C-c C-l
in emacs) fails to generate main() in examples/out/main.c causing the clang compile step to fail.examples/out/main.c
file shows ex1() and ex2() generated along with the structs and includes, but does not have main()I can further confirm that:
carp -x examples/arrays.carp
works and produces the expected output.C-c C-c
in emacs) works and produces the expected output, in the inferior Carp process.example/out/Untitled
also successfully runs standalone and produces the expected output.The text was updated successfully, but these errors were encountered: