Closed chenrui333 closed 1 year ago
mach-o
Which version of clang, and what is your host system (version, CPU etc)
Might be that apple needs to have a special case for these macros.
#ifdef APPLE
# define DLLEXTINFO_BEGIN_PREFIX const __attribute__ ((section ("__DATA,plugin_list"))) __attribute__ ((used))
#else
# define DLLEXTINFO_BEGIN_PREFIX const __attribute__ ((section ("plugin_list"))) __attribute__ ((used))
#endif
and similiar for the others.
Should be fixed by d37938f8a43f3c784c7742cdcc3dd16af8d79751
Got some build errors when building 0.2.100, the error is as below:
relates to https://github.com/Homebrew/homebrew-core/pull/111587