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 unit test warnings on Mac related to openvdb::Index64 #75

Merged

Conversation

danrbailey
Copy link
Contributor

On Mac, openvdb::Index64 is uint64_t which is unsigned long long, not unsigned long. This patch fixes the warnings about the mismatching types in the unit tests by using Index64 instead of size_t or 0UL/1UL.

… unsigned long long not unsigned long on Mac
@OpenVDB-DevTeam
Copy link
Contributor

Funny - I made the exact same changes didn't push them yet :)

-K

@OpenVDB-DevTeam OpenVDB-DevTeam merged commit b306afe into AcademySoftwareFoundation:master Oct 15, 2016
@danrbailey danrbailey deleted the mac_index64 branch October 16, 2016 21:55
swahtz added a commit to swahtz/openvdb that referenced this pull request Jan 21, 2025
…ion#75)

* Add basic cmake and an example gbenchmark

* Modify setup.py to exclude benchmarks directory

* gitignore benchmarks build dir

* Make CMake work with conda-forge Torch, and make simple benchmark use Torch.

* Add working C++11 ABI Torch conda environment

* Modularize the cmake.

* Whitespace cleanup

* empty

Signed-off-by: Jonathan Swartz <[email protected]>

* Add comment about excluding benchmarks directory

* Modularize python, torch and fvdb dependencies, and add better error checking

* Empty commit to test signing

* Empty commit to test signing

* Use `find_library` to find libfvdb.so

---------

Signed-off-by: Jonathan Swartz <[email protected]>
Co-authored-by: Jonathan Swartz <[email protected]>
Co-authored-by: Francis Williams <[email protected]>
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