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
E:\Learning\c3pack\ex\test\test_suite\macros>c3c compile-run macro_import_res_private.c3
lld-link: error: undefined symbol: printf.2
>>> referenced by E:\Learning\c3pack\ex\test\test_suite\macros\macro_import_res_private.c3:31
>>> baz.obj:(baz.main)
Failed to create an executable: (null)
The message is so compact that I have no clue to printf.2.When I change macro bar1() to macro @bar1() at both place,it doesn't help;when I change printf to io::printfn,it compiles;when I change macro bar1() to fn void bar1(),it compiles and works.
When do an exercise according to test/test_suite/macros/macro_import_res_private.c3t,adding printf to print some information,it failed to compile with message:
The message is so compact that I have no clue to printf.2.When I change
macro bar1()
tomacro @bar1()
at both place,it doesn't help;when I changeprintf
toio::printfn
,it compiles;when I changemacro bar1()
tofn void bar1()
,it compiles and works.So may I ask what the issue is please?
The text was updated successfully, but these errors were encountered: