We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Operating System: Windows 11 Version / Commit SHA: 45d2ce4 CMake Version: 3.28 Compiler: clang-cl
When compiling with clang-cl the inner ValueT in the convertValue function reports an use of undeclared identifier ValueT error in RootNode.h
ValueT
use of undeclared identifier ValueT
The below example fails compile due to this issue. Boost may cause issues when compiling with clang but that can be fixed using this boost pull req.
#include <openvdb/openvdb.h> #include <openvdb/tree/RootNode.h> #include <openvdb/tree/InternalNode.h> #include <iostream> int main() { openvdb::initialize(); using FloatRootNodeType = openvdb::tree::RootNode<openvdb::tree::InternalNode<openvdb::tree::InternalNode<openvdb::tree::LeafNode<float, 3>, 4>, 5>>; FloatRootNodeType floatRoot; using IntRootNodeType = openvdb::tree::RootNode<openvdb::tree::InternalNode<openvdb::tree::InternalNode<openvdb::tree::LeafNode<int, 3>, 4>, 5>>; IntRootNodeType intRoot; openvdb::Coord xyz(0, 0, 0); intRoot = floatRoot; return 0; }
The text was updated successfully, but these errors were encountered:
changed convert function to template to avoid undefined alias with cl…
ff2c528
…ang-cl. Resolves AcademySoftwareFoundation#1785
5125d79
…ang-cl. Resolves AcademySoftwareFoundation#1785 Signed-off-by: Benjamin Gottheil <[email protected]>
776b6fd
…ang-cl. Resolves AcademySoftwareFoundation#1785 Signed-off-by: bgottamd <[email protected]>
No branches or pull requests
Environment
Operating System: Windows 11
Version / Commit SHA: 45d2ce4
CMake Version: 3.28
Compiler: clang-cl
Describe the problem
When compiling with clang-cl the inner
ValueT
in the convertValue function reports anuse of undeclared identifier ValueT
error in RootNode.hTo Reproduce
The below example fails compile due to this issue. Boost may cause issues when compiling with clang but that can be fixed using this boost pull req.
The text was updated successfully, but these errors were encountered: