在 2022/10/11 21:10, xclae...@gmail.com 写道:
Le mardi 11 octobre 2022 à 13:00 +0800, LIU Hao a écrit :you may try``` __attribute__((__gnu_inline__)) extern inline int g_strcmp0(const char*, const char*) { ... ```Thanks, I gave that a try but I get many: multiple definition of `g_strcmp0'. But at least the warning about dllimport is now gone.
Did you have any declarations that had no `__gnu_inline__`? GNU inline functions are supposed to be emitted out of line, even when its address is taken.
-- Best regards, LIU Hao
OpenPGP_signature
Description: OpenPGP digital signature