Snippets for blender 5.2.1 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/qm895mfi8pfppi7fx7d89gra869va8p6-blender-5.2.1.drv.
-
/build/source/intern/cycles/scene/image_vdb.cpp:98:45: warning: 'uint64_t nanovdb::GridHandle<BufferT>::size() const [with BufferT = nanovdb::HostBuffer; uint64_t = long unsigned int]' is deprecated: Use GridHandle::bufferSize instead. [-Wdeprecated-declarations] 98 | metadata.nanovdb_byte_size = nanogrid.size(); | ~~~~~~~~~~~~~^~ -
/build/source/intern/draco_bridge/intern/encoder.cpp:176:32: warning: no previous declaration for 'draco::GeometryAttribute::Type getAttributeSemantics(char*)' [-Wmissing-declarations] 176 | draco::GeometryAttribute::Type getAttributeSemantics(char *attribute) | ^~~~~~~~~~~~~~~~~~~~~ -
/build/source/intern/draco_bridge/intern/encoder.cpp:194:17: warning: no previous declaration for 'draco::DataType getDataType(size_t)' [-Wmissing-declarations] 194 | draco::DataType getDataType(size_t componentType) | ^~~~~~~~~~~ -
/build/source/extern/glog/src/utilities.cc:325:45: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uid_t' {aka 'unsigned int'} [-Wformat=] 325 | snprintf(buffer, sizeof(buffer), "uid%d", uid); | ~^ ~~~ | | | | int uid_t {aka unsigned int} | %d -
/build/source/extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.cpp:1239:26: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'int' [-Wformat=] 1239 | printf("Nodes: %u\r\n", psb->m_nodes.size()); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | unsigned int int | %u -
/build/source/extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.cpp:1240:26: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'int' [-Wformat=] 1240 | printf("Links: %u\r\n", psb->m_links.size()); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | unsigned int int | %u -
/build/source/extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.cpp:1241:26: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'int' [-Wformat=] 1241 | printf("Faces: %u\r\n", psb->m_faces.size()); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | unsigned int int | %u -
/build/source/extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.cpp:1242:26: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'int' [-Wformat=] 1242 | printf("Tetras: %u\r\n", psb->m_tetras.size()); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | unsigned int int | %u -
/build/source/extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.cpp:1343:26: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'int' [-Wformat=] 1343 | printf("Nodes: %u\r\n", psb->m_nodes.size()); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | unsigned int int | %u -
/build/source/extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.cpp:1344:26: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'int' [-Wformat=] 1344 | printf("Links: %u\r\n", psb->m_links.size()); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | unsigned int int | %u -
/build/source/extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.cpp:1345:26: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'int' [-Wformat=] 1345 | printf("Faces: %u\r\n", psb->m_faces.size()); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | unsigned int int | %u -
/build/source/extern/bullet2/src/BulletSoftBody/btSoftBodyHelpers.cpp:1346:26: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'int' [-Wformat=] 1346 | printf("Tetras: %u\r\n", psb->m_tetras.size()); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | unsigned int int | %u -
/nix/store/4yxdxw3kppr2pbic95p4mri520rkdag2-gcc-15.3.0/include/c++/15.3.0/bits/stl_algo.h:1817:32: warning: array subscript 16 is outside array bounds of 'blender::BMLoop* [4]' [-Warray-bounds=] 1817 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/source/blender/blenkernel/intern/mesh_validate.cc:67:40: warning: 'fmt::v12::fstring<T>::operator const fmt::v12::string_view&() const [with T = {const int&, const int&}; fmt::v12::string_view = fmt::v12::basic_string_view<char>]' is deprecated [-Wdeprecated-declarations] 67 | this->add(fmt::format(fmt::runtime(fmt), args...)); | ^~~ -
/build/source/source/blender/gpu/intern/gpu_texture_mipmap.cc:86:6: warning: no previous declaration for 'uint blender::gpu::mipmap_dispatch_group_len(Texture&, int)' [-Wmissing-declarations] 86 | uint mipmap_dispatch_group_len(Texture &texture, int mip_start) | ^~~~~~~~~~~~~~~~~~~~~~~~~