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 qualification in bird_curve_helper.hpp #4

Closed
wants to merge 1 commit into from

Conversation

tyler274
Copy link

@tyler274 tyler274 commented May 16, 2023

This isnt accepted by GCC or Clang, but is in Visual Studio...did anyone even test this on Linux....?

fixes #3

This isnt accepted by GCC or Clang, but is in Visual Studio...did anyone even test this on Linux....?
@NBickford-NV
Copy link
Contributor

Hi @tyler274 ! Thank you for the merge request - it looks like we've put together a fix for issue #3 upstream already, so it should be included in the next published update to this sample.

For the second issue you mentioned, it looks like the fix is to change [&] to [] in

auto hash  = [&](const nvmath::vec3f& v) { return makeHash(v); };
auto equal = [&](const nvmath::vec3f& l, const nvmath::vec3f& r) { return l == r; };

Testing locally, that should get the samples compiling on Linux.

Thanks again!

@tyler274
Copy link
Author

tyler274 commented May 17, 2023 via email

@tyler274
Copy link
Author

Spoke too soon, there's another compile time error in clang 15 with format strings

@mklefrancois
Copy link
Contributor

Thanks for the patch, this was fixed in b38052d

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.

Compiler Error: error: extra qualification ‘BirdCurveHelper::’ on member ‘micro2bary’ [-fpermissive]
3 participants