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
Module validation failed: Function return type does not match operand type of return inst!
ret [32 x %"struct.LibDpdk::RteEthDev"]* %0
[32 x %"struct.LibDpdk::RteEthDev"]
???
???
???
???
???
???
???
???
Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues
I could declare like RteEthDev*, but actual array is not allocated there, got invalid memory access later on.
Is there anything I am missing or is this a limitation?
The text was updated successfully, but these errors were encountered:
Original C code has something like this
If I declare like this on lib
I got compile time error like this.
I could declare like RteEthDev*, but actual array is not allocated there, got invalid memory access later on.
Is there anything I am missing or is this a limitation?
The text was updated successfully, but these errors were encountered: