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

Build on FreeBSD #113

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open

Build on FreeBSD #113

wants to merge 9 commits into from

Conversation

aft90
Copy link

@aft90 aft90 commented Dec 16, 2020

Hi! Thanks for creating this library. I found myself needing to compile it on FreeBSD (with clang and BSD make which are the default on that platform) so I thought I'd share the changes I had to make:

  • added makefiles for the main library (static & shared), test and examples
  • added stdio.h to Par.cpp for snprintf
  • remove the -Wlogical-op, -Wnoexcept and Wstrict-null-sentinel flags because clang 10 on FreeBSD doesn't recognise them
  • turn off some more warnings in System.cpp caused by clang with boost
  • added checks for the __FreeBSD__ compiler macro where appropriate

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.

1 participant