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

Fixes for clang 5.0 and FreeBSD #129

Merged
merged 1 commit into from
Sep 8, 2017
Merged

Fixes for clang 5.0 and FreeBSD #129

merged 1 commit into from
Sep 8, 2017

Conversation

valpackett
Copy link
Contributor

  • x86_64 is amd64 on FreeBSD;
  • libX11 is not in the default linker's default path on FreeBSD;
  • injectKeyPress takes a number, but NULL was provided. At least in clang++5's libc++, NULL is defined as nullptr, not 0. That fails to compile.

By the way, why AND NOT APPLE? What's wrong with using position independent code on macOS?

- x86_64 is amd64 on FreeBSD;
- libX11 is not in the default linker's default path on FreeBSD;
- injectKeyPress takes a number, but NULL was provided. At least in clang++ version 5, NULL is defined as nullptr, not 0. That fails to compile.
@Altren Altren merged commit 75dabcd into MyGUI:master Sep 8, 2017
@Altren
Copy link
Contributor

Altren commented Sep 8, 2017

I this piece was copied from Ogre's CMake or some other project. I haven't used APPLE target for a long time and can't say why it is there.

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.

None yet

2 participants