After pull request #1440, these warnings started appearing when building on Mac with AppleClang 15.0.0.15000309. A message like below appears for every usage of VSG_type_name within the vsg namespace it seems, this makes the build log unreadable.
In file included from /product/external/VulkanSceneGraph/src/vsg/core/Allocator.cpp:16:
In file included from /product/external/VulkanSceneGraph/include/vsg/io/Logger.h:15:
In file included from /product/external/VulkanSceneGraph/include/vsg/core/Inherit.h:15:
In file included from /product/external/VulkanSceneGraph/include/vsg/app/RecordTraversal.h:18:
In file included from /product/external/VulkanSceneGraph/include/vsg/maths/mat4.h:15:
In file included from /product/external/VulkanSceneGraph/include/vsg/maths/plane.h:26:
In file included from /product/external/VulkanSceneGraph/include/vsg/maths/sphere.h:26:
/product/external/VulkanSceneGraph/include/vsg/maths/vec3.h:161:5: warning: extra qualification on member 'type_name' [-Wextra-qualification]
VSG_type_name(vsg::svec3);
^
/product/external/VulkanSceneGraph/include/vsg/core/type_name.h:44:47: note: expanded from macro 'VSG_type_name'
template<> constexpr const char* vsg::type_name<T>() noexcept { return #T; } \
^
In file included from /product/external/VulkanSceneGraph/src/vsg/core/Allocator.cpp:16:
In file included from /product/external/VulkanSceneGraph/include/vsg/io/Logger.h:15:
In file included from /product/external/VulkanSceneGraph/include/vsg/core/Inherit.h:15:
In file included from /product/external/VulkanSceneGraph/include/vsg/app/RecordTraversal.h:18:
In file included from /product/external/VulkanSceneGraph/include/vsg/maths/mat4.h:15:
In file included from /product/external/VulkanSceneGraph/include/vsg/maths/plane.h:26:
In file included from /product/external/VulkanSceneGraph/include/vsg/maths/sphere.h:26:
/product/external/VulkanSceneGraph/include/vsg/maths/vec3.h:161:5: warning: extra qualification on member 'type_name' [-Wextra-qualification]
/product/external/VulkanSceneGraph/include/vsg/core/type_name.h:45:47: note: expanded from macro 'VSG_type_name'
template<> constexpr const char* vsg::type_name<const T>() noexcept { return "const "#T; }
After pull request #1440, these warnings started appearing when building on Mac with AppleClang 15.0.0.15000309. A message like below appears for every usage of VSG_type_name within the vsg namespace it seems, this makes the build log unreadable.