81
Development / Re: build bot in the github, I see one nice project
« Last post by ollydbg on September 25, 2024, 12:43:43 am »When I looked at the link
[MinGW] make check problem Issue #9115 protocolbuffers/protobuf
or
Make commands not working on Windows 10 at setting check up Issue #297 libcheck/check
It looks like the "DLL_EXPORT" is predefined in the auto configure tool?
EDIT:
I will try this patch below in the github action.Codediff --git a/src/include/cbplugin.h b/src/include/cbplugin.h
index 10258e5..a3ce67b 100644
--- a/src/include/cbplugin.h
+++ b/src/include/cbplugin.h
@@ -23,11 +23,11 @@
#ifdef EXPORT_LIB
#define PLUGIN_EXPORT __declspec (dllexport)
#else // !EXPORT_LIB
- #ifdef BUILDING_PLUGIN
+ #if defined(BUILDING_PLUGIN) || defined(DLL_EXPORT)
#define PLUGIN_EXPORT __declspec (dllexport)
- #else // !BUILDING_PLUGIN
+ #else // !BUILDING_PLUGIN && !DLL_EXPORT
#define PLUGIN_EXPORT __declspec (dllimport)
- #endif // BUILDING_PLUGIN
+ #endif // BUILDING_PLUGIN || DLL_EXPORT
#endif // EXPORT_LIB
#endif // PLUGIN_EXPORT
#else
Some good news, the above mentioned change works.
Another issue/question is that why you need such patch:
https://github.com/asmwarrior/x86-codeblocks-builds/blob/main/0001-fix-32-bit-build-and-wxSmith.patch
?
I looked at this link:
https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-codeblocks
I don't see they need such patch as yours.