You need to put the following line in test-2.dats to resolve the issue:
#define ATS_MAINATSFLAG 1
After combining C code, we link the generated object code. But JS does
not have a link-time. I do not have a good solution to this problem…On Tue, May 12, 2015 at 8:27 AM, ‘Yannick Duchêne’ via ats-lang-users < ats-lan...@googlegroups.com> wrote:
Le mardi 12 mai 2015 13:55:05 UTC+2, Yannick Duchêne a écrit :
Still looking at how to fix the dynload-flag issue.
I have a feeling a
ATSdynloadflag_init
is missing intest-2.c
, so may
be for this one it’s an error in ATSCC2JS, or may be something I don’t
understand. There is one intest-1.c
, and there is no intest-1.c
.–
You received this message because you are subscribed to the Google Groups
“ats-lang-users” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to ats-lang-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.
Visit this group at http://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ats-lang-users/d74a2d69-586a-4c2b-bca4-1b2457617325%40googlegroups.com
https://groups.google.com/d/msgid/ats-lang-users/d74a2d69-586a-4c2b-bca4-1b2457617325%40googlegroups.com?utm_medium=email&utm_source=footer
.