Skip to content

Fix build on MacOS.#42

Closed
mheistermann wants to merge 1 commit into
bjoern-andres:masterfrom
mheistermann:fix-build-macos
Closed

Fix build on MacOS.#42
mheistermann wants to merge 1 commit into
bjoern-andres:masterfrom
mheistermann:fix-build-macos

Conversation

@mheistermann

Copy link
Copy Markdown

This change fixes compilation on my MacOS machine with Apple LLVM version 9.0.0 (clang-900.0.38).

lifting.hxx:206:54: error: call to 'abs' is ambiguous
                        const std::size_t distance = std::abs(x - cv[0]) + std::abs(y - cv[1]);

lifting.hxx:206:54: error: call to 'abs' is ambiguous
                        const std::size_t distance = std::abs(x - cv[0]) + std::abs(y - cv[1]);
@mheistermann

Copy link
Copy Markdown
Author

I just realized this change is also included in the MSVC fixes of #37

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