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

Fix clang build error "ambiguous call to abs" #480

Closed
wants to merge 1 commit into from

Conversation

ilovezfs
Copy link

Fix the build on macOS with clang:

OpenNI2-FreenectDriver/src/VideoStream.hpp:55:31: error: call to 'abs'
is ambiguous
uint64_t temp_delta = std::abs(timestamp - prev_int);
^~~~~~~~

Fix the build on macOS with clang:

  OpenNI2-FreenectDriver/src/VideoStream.hpp:55:31: error: call to 'abs'
  is ambiguous
          uint64_t temp_delta = std::abs(timestamp - prev_int);
                              ^~~~~~~~
@ilovezfs
Copy link
Author

@piedar piedar closed this in 60a507c Aug 28, 2016
@piedar piedar added this to the v0.5.5 milestone Aug 28, 2016
@ilovezfs
Copy link
Author

@piedar thanks!!!

Could I bother you for a new release tag so I can yank the patching from the Homebrew formula?

@piedar
Copy link
Contributor

piedar commented Aug 28, 2016

Done! I even remembered to bump the version number this time.

@ilovezfs
Copy link
Author

you're awesome, thanks

@ilovezfs
Copy link
Author

@piedar voilà: Homebrew/homebrew-core#4294

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.

2 participants