Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support building on modern MSYS2 #26

Open
wants to merge 24 commits into
base: gnustep_testplant_branch
Choose a base branch
from

Conversation

qmfrederik
Copy link

This PR:

  • Gets the Eggplant fork of libs-base running on modern MSYS2, by cherry-picking a number of commits off the main libs-base branch
  • Adds CI to ensure the code compiles correctly

triplef and others added 23 commits December 21, 2023 15:27
…ows for inet_ntop with corrent library, guard includes and definitions with configure results, cleanup header inclusion
* Explicitly include headers in config and tests

* Update ChangeLog
Define argument to `_Block_release`  and `_Block_get_types` to be `const void*`,
to aligne with the header declaration.
NSObject uses objc_msg_lookup, which is defined in message.h
NSProxy uses objc_msg_lookup, which is defined in <objc/message.h>
'make check' tells me that I must use GNU make.  The message now tells
me to use gmake (or whatever make I used that worked for the build).
Remove -rpath flag when running tests with MSVC toolchain to fix build errors for tests as there is no rpath on Windows, and instead add object directory to PATH for Windows to find DLLs.
Having the same ivar exposed as different types in different compilation
units is probably a bad idea in general and will break with the new ObjC
ABI, where we have link-time checks for this.  It would also confuse
reflection and any languages that use reflection for bridging in
exciting ways.
This is largely the version from the newabi branch, but with a few
cleanups made possible by other bug fixes in the GSString
implementations.
…ime.h>

Most Linux distributions and MSYS2 include a version of BlocksRuntime which includes the `Block.h` header.
@qmfrederik
Copy link
Author

Best reviewed on a per-commit basis; most of the delta comes from a2aeb64 which could be split off into a separate PR if that's easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants