there are quite a few compiler warnings - not sure if you are interested in them (or in fixing them) - if not, please just close
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.h: In constructor ‘ofbx::Object::Object(const ofbx::Scene&, const ofbx::IElement&)’:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.h:223:22: warning: ‘ofbx::Object::scene’ will be initialized after [-Wreorder]
223 | const Scene& scene;
| ^~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.h:218:25: warning: ‘const ofbx::IElement& ofbx::Object::element’ [-Wreorder]
218 | const IElement& element;
| ^~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:509:1: warning: when initialized here [-Wreorder]
509 | Object::Object(const Scene& _scene, const IElement& _element)
| ^~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.h:222:14: warning: ‘ofbx::Object::is_node’ will be initialized after [-Wreorder]
222 | bool is_node;
| ^~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.h:219:23: warning: ‘const ofbx::Object* ofbx::Object::node_attribute’ [-Wreorder]
219 | const Object* node_attribute;
| ^~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:509:1: warning: when initialized here [-Wreorder]
509 | Object::Object(const Scene& _scene, const IElement& _element)
| ^~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp: In function ‘bool ofbx::isEndLine(const Cursor&)’:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:718:102: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
718 | return *cursor.current == '\n' || *cursor.current == '\r' && cursor.current + 1 < cursor.end && *(cursor.current + 1) != '\n';
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp: In function ‘void ofbx::parseTemplates(const Element&)’:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:1012:50: warning: variable ‘prop2’ set but not used [-Wunused-but-set-variable]
1012 | DataView prop2 = subdef->first_property->value;
| ^~~~~
In file included from /usr/include/c++/12/cassert:44,
from /home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp: In member function ‘virtual const ofbx::AnimationStack* ofbx::Scene::getAnimationStack(int) const’:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:1600:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ofbx::AnimationStack*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1600 | assert(index < m_animation_stacks.size());
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp: In member function ‘virtual const ofbx::Mesh* ofbx::Scene::getMesh(int) const’:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:1608:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ofbx::Mesh*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1608 | assert(index < m_meshes.size());
| ~~~~~~^~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp: In member function ‘virtual const ofbx::Geometry* ofbx::Scene::getGeometry(int) const’:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:1616:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ofbx::Geometry*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1616 | assert(index < m_geometries.size());
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp: In function ‘bool ofbx::parseObjects(const Element&, Scene*, u64, Allocator&, JobProcessor, void*)’:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3176:24: warning: enumeration value ‘ROOT’ not handled in switch [-Wswitch]
3176 | switch (child->getType())
| ^
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3176:24: warning: enumeration value ‘GEOMETRY’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3176:24: warning: enumeration value ‘SHAPE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3176:24: warning: enumeration value ‘MATERIAL’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3176:24: warning: enumeration value ‘MESH’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3176:24: warning: enumeration value ‘TEXTURE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3176:24: warning: enumeration value ‘LIMB_NODE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3176:24: warning: enumeration value ‘NULL_NODE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3176:24: warning: enumeration value ‘CLUSTER’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3176:24: warning: enumeration value ‘SKIN’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3176:24: warning: enumeration value ‘BLEND_SHAPE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3176:24: warning: enumeration value ‘BLEND_SHAPE_CHANNEL’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3176:24: warning: enumeration value ‘ANIMATION_STACK’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3176:24: warning: enumeration value ‘ANIMATION_LAYER’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3176:24: warning: enumeration value ‘ANIMATION_CURVE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3176:24: warning: enumeration value ‘POSE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3201:40: warning: enumeration value ‘ROOT’ not handled in switch [-Wswitch]
3201 | switch (child->getType())
| ^
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3201:40: warning: enumeration value ‘SHAPE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3201:40: warning: enumeration value ‘MESH’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3201:40: warning: enumeration value ‘TEXTURE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3201:40: warning: enumeration value ‘LIMB_NODE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3201:40: warning: enumeration value ‘NULL_NODE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3201:40: warning: enumeration value ‘NODE_ATTRIBUTE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3201:40: warning: enumeration value ‘CLUSTER’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3201:40: warning: enumeration value ‘SKIN’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3201:40: warning: enumeration value ‘BLEND_SHAPE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3201:40: warning: enumeration value ‘BLEND_SHAPE_CHANNEL’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3201:40: warning: enumeration value ‘ANIMATION_STACK’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3201:40: warning: enumeration value ‘ANIMATION_LAYER’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3201:40: warning: enumeration value ‘ANIMATION_CURVE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3201:40: warning: enumeration value ‘ANIMATION_CURVE_NODE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3201:40: warning: enumeration value ‘POSE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3196:24: warning: enumeration value ‘ROOT’ not handled in switch [-Wswitch]
3196 | switch (parent->getType())
| ^
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3196:24: warning: enumeration value ‘SHAPE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3196:24: warning: enumeration value ‘TEXTURE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3196:24: warning: enumeration value ‘LIMB_NODE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3196:24: warning: enumeration value ‘NULL_NODE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3196:24: warning: enumeration value ‘NODE_ATTRIBUTE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3196:24: warning: enumeration value ‘ANIMATION_STACK’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3196:24: warning: enumeration value ‘ANIMATION_CURVE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3196:24: warning: enumeration value ‘POSE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3353:32: warning: enumeration value ‘ROOT’ not handled in switch [-Wswitch]
3353 | switch (obj->getType()) {
| ^
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3353:32: warning: enumeration value ‘GEOMETRY’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3353:32: warning: enumeration value ‘SHAPE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3353:32: warning: enumeration value ‘MATERIAL’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3353:32: warning: enumeration value ‘MESH’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3353:32: warning: enumeration value ‘TEXTURE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3353:32: warning: enumeration value ‘LIMB_NODE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3353:32: warning: enumeration value ‘NULL_NODE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3353:32: warning: enumeration value ‘NODE_ATTRIBUTE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3353:32: warning: enumeration value ‘SKIN’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3353:32: warning: enumeration value ‘BLEND_SHAPE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3353:32: warning: enumeration value ‘ANIMATION_STACK’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3353:32: warning: enumeration value ‘ANIMATION_LAYER’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3353:32: warning: enumeration value ‘ANIMATION_CURVE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:3353:32: warning: enumeration value ‘ANIMATION_CURVE_NODE’ not handled in switch [-Wswitch]
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp: In instantiation of ‘bool ofbx::parseTextArrayRaw(const Property&, T*, int) [with T = double]’:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2061:26: required from ‘bool ofbx::parseArrayRaw(const Property&, T*, int) [with T = double]’
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:416:84: required from here
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2178:35: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2178 | if (out - out_raw == max_size / sizeof(T)) return true;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2180:30: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2180 | return out - out_raw == max_size / sizeof(T);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp: In instantiation of ‘bool ofbx::parseTextArrayRaw(const Property&, T*, int) [with T = float]’:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2061:26: required from ‘bool ofbx::parseArrayRaw(const Property&, T*, int) [with T = float]’
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:418:83: required from here
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2178:35: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2178 | if (out - out_raw == max_size / sizeof(T)) return true;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2180:30: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2180 | return out - out_raw == max_size / sizeof(T);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp: In instantiation of ‘bool ofbx::parseTextArrayRaw(const Property&, T*, int) [with T = long unsigned int]’:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2061:26: required from ‘bool ofbx::parseArrayRaw(const Property&, T*, int) [with T = long unsigned int]’
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:420:81: required from here
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2178:35: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2178 | if (out - out_raw == max_size / sizeof(T)) return true;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2180:30: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2180 | return out - out_raw == max_size / sizeof(T);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp: In instantiation of ‘bool ofbx::parseTextArrayRaw(const Property&, T*, int) [with T = long int]’:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2061:26: required from ‘bool ofbx::parseArrayRaw(const Property&, T*, int) [with T = long int]’
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:422:81: required from here
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2178:35: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2178 | if (out - out_raw == max_size / sizeof(T)) return true;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2180:30: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2180 | return out - out_raw == max_size / sizeof(T);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp: In instantiation of ‘bool ofbx::parseTextArrayRaw(const Property&, T*, int) [with T = int]’:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2061:26: required from ‘bool ofbx::parseArrayRaw(const Property&, T*, int) [with T = int]’
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:424:81: required from here
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2178:35: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2178 | if (out - out_raw == max_size / sizeof(T)) return true;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2180:30: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2180 | return out - out_raw == max_size / sizeof(T);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp: In instantiation of ‘bool ofbx::parseTextArrayRaw(const Property&, T*, int) [with T = Matrix]’:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2061:26: required from ‘bool ofbx::parseArrayRaw(const Property&, T*, int) [with T = Matrix]’
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:1858:17: required from here
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2178:35: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2178 | if (out - out_raw == max_size / sizeof(T)) return true;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2180:30: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2180 | return out - out_raw == max_size / sizeof(T);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp: In instantiation of ‘bool ofbx::parseTextArrayRaw(const Property&, T*, int) [with T = Vec3]’:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2061:26: required from ‘bool ofbx::parseArrayRaw(const Property&, T*, int) [with T = Vec3]’
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2202:23: required from ‘bool ofbx::parseBinaryArray(const Property&, std::vector<T>*) [with T = Vec3]’
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2223:26: required from ‘bool ofbx::parseDoubleVecData(Property&, std::vector<T>*, std::vector<float>*) [with T = Vec3]’
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2722:25: required from here
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2178:35: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2178 | if (out - out_raw == max_size / sizeof(T)) return true;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2180:30: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2180 | return out - out_raw == max_size / sizeof(T);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp: In instantiation of ‘bool ofbx::parseTextArrayRaw(const Property&, T*, int) [with T = Vec2]’:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2061:26: required from ‘bool ofbx::parseArrayRaw(const Property&, T*, int) [with T = Vec2]’
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2202:23: required from ‘bool ofbx::parseBinaryArray(const Property&, std::vector<T>*) [with T = Vec2]’
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2223:26: required from ‘bool ofbx::parseDoubleVecData(Property&, std::vector<T>*, std::vector<float>*) [with T = Vec2]’
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2318:27: required from ‘bool ofbx::parseVertexData(const Element&, const char*, const char*, std::vector<T>*, std::vector<int>*, GeometryImpl::VertexDataMapping*, std::vector<float>*) [with T = Vec2]’
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2606:24: required from here
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2178:35: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2178 | if (out - out_raw == max_size / sizeof(T)) return true;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2180:30: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2180 | return out - out_raw == max_size / sizeof(T);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp: In instantiation of ‘bool ofbx::parseTextArrayRaw(const Property&, T*, int) [with T = Vec4]’:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2061:26: required from ‘bool ofbx::parseArrayRaw(const Property&, T*, int) [with T = Vec4]’
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2202:23: required from ‘bool ofbx::parseBinaryArray(const Property&, std::vector<T>*) [with T = Vec4]’
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2223:26: required from ‘bool ofbx::parseDoubleVecData(Property&, std::vector<T>*, std::vector<float>*) [with T = Vec4]’
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2318:27: required from ‘bool ofbx::parseVertexData(const Element&, const char*, const char*, std::vector<T>*, std::vector<int>*, GeometryImpl::VertexDataMapping*, std::vector<float>*) [with T = Vec4]’
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2670:23: required from here
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2178:35: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2178 | if (out - out_raw == max_size / sizeof(T)) return true;
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:2180:30: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
2180 | return out - out_raw == max_size / sizeof(T);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp: At global scope:
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:995:13: warning: ‘void ofbx::parseTemplates(const Element&)’ defined but not used [-Wunused-function]
995 | static void parseTemplates(const Element& root)
| ^~~~~~~~~~~~~~
/home/mgerhardy/dev/engine/src/modules/voxelformat/external/ofbx.cpp:268:13: warning: ‘ofbx::Vec3 ofbx::operator*(const Vec3&, float)’ defined but not used [-Wunused-function]
268 | static Vec3 operator*(const Vec3& v, float f)
| ^~~~~~~~
there are quite a few compiler warnings - not sure if you are interested in them (or in fixing them) - if not, please just close