-
Notifications
You must be signed in to change notification settings - Fork 564
Empty struct warning? #3552
Comments
As clang suggests, use |
Thanks. I'm having trouble figuring out how to specify that using the Gradle multiplatform plugin. Any help would be much appreciated. |
Hello @anpete! Can you please share at which stage of the project build you're facing this warning? |
The warning is produced when executing any of the link gradle tasks that are provided via the kotlin multiplatform plugin. The warnings started appearing after I made several types and global functions internal. Could it be related to kotlin files that only have internal declarations? |
Please try to add the flag to the |
|
Assuming you mean I tried this:
And got this:
|
Hello again, @anpete, and sorry for such a long period of silence! |
OK, thanks! Feel free to close the issue when appropriate. |
According to migrating issue tracking to YouTrack, closing this issue in favour of KT-42796 [Reverse C Interop] Package with no public methods generate empty struct in the header, leading to an error |
Native compiler is generating the following warning:
Can I ignore this? If so, how can I suppress it?
The text was updated successfully, but these errors were encountered: