Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: struct embedding must be declared at the beginning of the struct body #136

Open
topcheese opened this issue Aug 15, 2023 · 0 comments
Labels
Bug Something isn't working

Comments

@topcheese
Copy link

topcheese commented Aug 15, 2023

translating Remotery.c      ... Remotery.v:41:2: error: struct embedding must be declared at the beginning of the struct body
   39 |     messageQueueSizeInBytes RmtU32
   40 |     maxNbMessagesPerUpdate RmtU32
   41 |     C.malloc RmtMallocPtr
      |     ~~~~~~~~
   42 |     realloc RmtReallocPtr
   43 |     C.free RmtFreePtr

I'm not sure how fixable this one is, but the error message is pretty clear, so I was able to work past it.

C code origin -> https://github.com/Celtoys/Remotery

@ArtemkaKun ArtemkaKun added the Bug Something isn't working label Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants