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
and then C compiler doesn't compile the generated C code with the following error:
modulename.c:16:25: warning: anonymous struct declared inside parameter list will not be visible outside of this definition or declaration
16 | export void modulename_Get (struct {
| ^~~~~~
modulename.c:22:18: warning: anonymous struct declared inside parameter list will not be visible outside of this definition or declaration
22 | void modulename_Get (struct {
| ^~~~~~
modulename.c:22:6: error: conflicting types for ‘modulename_Get’
22 | void modulename_Get (struct {
| ^~~~~~~~~~
modulename.c:16:13: note: previous declaration of ‘modulename_Get’ was here
16 | export void modulename_Get (struct {
| ^~~~~~~~~~
C compile: gcc -fPIC -g -I "/opt/voc/2/include" -c modulename.c
The text was updated successfully, but these errors were encountered:
in case we have function with this signature:
it compiles to:
and then C compiler doesn't compile the generated C code with the following error:
The text was updated successfully, but these errors were encountered: