inexorgame / vulkan-renderer

A new 3D game engine for Linux and Windows using C++20 and Vulkan API 1.3, in very early but ongoing development
https://inexor.org
MIT License
757 stars 33 forks source link

Ignore compiler warnings from third party conan packages #506

Open IAmNotHanni opened 1 year ago

IAmNotHanni commented 1 year ago

Is your feature request related to a problem?

We don't need to see those warnings because it's not our code:

[46/49] Building CXX object src/CMakeFiles/inexor-vulkan-renderer.dir/vulkan-renderer/application.cpp.o
In file included from /home/johannes/Inexor/forward_declarations/vulkan-renderer/src/vulkan-renderer/application.cpp:1:
In file included from /home/johannes/Inexor/forward_declarations/vulkan-renderer/include/inexor/vulkan-renderer/application.hpp:4:
In file included from /home/johannes/Inexor/forward_declarations/vulkan-renderer/include/inexor/vulkan-renderer/renderer.hpp:3:
In file included from /home/johannes/Inexor/forward_declarations/vulkan-renderer/include/inexor/vulkan-renderer/camera.hpp:3:
In file included from /home/johannes/.conan/data/glm/0.9.9.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/glm/glm.hpp:132:
In file included from /home/johannes/.conan/data/glm/0.9.9.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/glm/packing.hpp:173:
In file included from /home/johannes/.conan/data/glm/0.9.9.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/glm/detail/func_packing.inl:5:
In file included from /home/johannes/.conan/data/glm/0.9.9.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/glm/detail/type_half.hpp:16:
/home/johannes/.conan/data/glm/0.9.9.8/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/glm/detail/type_half.inl:9:6: warning: compound assignment to object of volatile-qualified type 'volatile float' is deprecated [-Wdeprecated-volatile]
                        f *= f; // this will overflow before the for loop terminates

Description

Those warnings spam the console.

Alternatives

Just keep the warnings.

Affected Code

All of the code.

Operating System

All operating systems

Additional Context

none