-
Notifications
You must be signed in to change notification settings - Fork 40
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
Fails to build on Mac OS Catalina 10.15.3 #197
Comments
That is not what is supposed to be on line 33 of platform_bsdlike.c. That line is (and has been):
https://github.com/UpstandingHackers/hammer/blob/master/src/platform_bsdlike.c#L33 |
Thanks for checking so quickly. I started over, deleting and reinstalling with git clone but still get the following error (skipping successful builds of various other targets):
|
kpewing on Wed, Feb 12 2020:
build/opt/src/platform_bsdlike.c:33:10: error: implicit declaration of function
'vasprintf' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
Could you try defining _BSD_SOURCE at the top of the file (like it does
for OpenBSD)?
|
Tried various variations on your suggestion, but no go. (See attached How about this explanation, instead? We're not seeing |
That sounds about right. Thanks for investigating! FYI, there is a new repo where Hammer work is currently happening. I've opened an issue there. https://gitlab.special-circumstanc.es/hammer/hammer/issues/93 For reference, your immediate workaround is to remove that define from the global flags (in |
hammer fails to build on Mac OS Catalina 10.15.3. It seems to be pointer incompatibilities created when managing
vasprint()
on BSD-like systems.The text was updated successfully, but these errors were encountered: