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
Thanks to the work of #236, I check the code in the generated file export.hpp
#ifdefCORO_STATIC_DEFINE# defineCORO_EXPORT# defineCORO_NO_EXPORT#else# ifndefCORO_EXPORT# ifdeflibcoro_EXPORTS/* We are building this library */# defineCORO_EXPORT __declspec(dllexport)
# else/* We are using this library */# defineCORO_EXPORT __declspec(dllimport)
# endif# endif
Then I try to add cxflags -DCORO_EXPORT= override the __declspec(dllexport), it work.
--export-all-symbols
If given, all global symbols in the objects used to build a DLL will be exported by the DLL. Note that this is the default if there otherwise wouldn’t be any exported symbols.
The text was updated successfully, but these errors were encountered:
version: v0.12.1
full log: https://github.com/xmake-io/xmake-repo/actions/runs/11916365319/job/33208859126?pr=5783
test code:
I check the dll export table, only this symbols (global variable) are exported.
Thanks to the work of #236, I check the code in the generated file
export.hpp
Then I try to add cxflags
-DCORO_EXPORT=
override the__declspec(dllexport)
, it work.https://sourceware.org/binutils/docs/ld.html#Options-Specific-to-i386-PE-Targets
The text was updated successfully, but these errors were encountered: