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
Sometimes we do not change the name of the generated c functions and you get weird errors because at the C level, we included a library that happens to have the same name as the function that you define in Encore.
For instance, I cannot use the name bind nor sync because they have been already imported in the new pony runtime from uninstd.h and therefore it thinks that I want to re-declare an already used name.
Example:
def sync(): int
3
class Main
def main(): void
()
Error:
In file included from test_src/shared.c:1: test_src/header.h:93:12: error: redefinition of 'sync' as different kind of symbol closure_t* sync;
The text was updated successfully, but these errors were encountered:
Sometimes we do not change the name of the generated c functions and you get weird errors because at the C level, we
include
d a library that happens to have the same name as the function that you define in Encore.For instance, I cannot use the name
bind
norsync
because they have been already imported in the new pony runtime fromuninstd.h
and therefore it thinks that I want to re-declare an already used name.Example:
Error:
The text was updated successfully, but these errors were encountered: