carboncopies / BrainGenix-ERS

BrainGenix Environment Rendering System (ERS) aims to be a high performance rendering system aimed towards scientific applications such as virtual body simulation. [Note: This project is currently in development].
https://braingenix.org/divisions/ers
GNU Affero General Public License v3.0
3 stars 1 forks source link

Fix GLM Compiler Warning #474

Closed datacrystals closed 1 year ago

datacrystals commented 1 year ago

There's a really annoying compiler warning in glm, disable this.

datacrystals commented 1 year ago
                 from /home/tliao/Documents/BrainGenix-ERS/Third-Party/glm/glm/detail/func_packing.inl:5,
                 from /home/tliao/Documents/BrainGenix-ERS/Third-Party/glm/glm/detail/func_packing.hpp:168,
                 from /home/tliao/Documents/BrainGenix-ERS/Third-Party/glm/glm/packing.hpp:6,
                 from /home/tliao/Documents/BrainGenix-ERS/Third-Party/glm/glm/glm.hpp:84,
                 from /home/tliao/Documents/BrainGenix-ERS/Source/Core/Structures/ERS_STRUCT_Model/./ERS_STRUCT_Model.h:11,
                 from /home/tliao/Documents/BrainGenix-ERS/Source/Core/Script/ERS_CLASS_PythonInterpreterIntegration/./ERS_CLASS_PythonInterpreterIntegration.h:24,
                 from /home/tliao/Documents/BrainGenix-ERS/Source/Core/Structures/ERS_STRUCT_SystemUtils/./ERS_STRUCT_SystemUtils.h:16,
                 from /home/tliao/Documents/BrainGenix-ERS/Source/Core/Editor/Windows/GUI_Window_About/./GUI_Window_About.h:18,
                 from /home/tliao/Documents/BrainGenix-ERS/Source/Core/Editor/Windows/GUI_Window_About/GUI_Window_About.cpp:5:
/home/tliao/Documents/BrainGenix-ERS/Third-Party/glm/glm/detail/type_half.inl: In function ‘float glm::detail::overflow()’:
/home/tliao/Documents/BrainGenix-ERS/Third-Party/glm/glm/detail/type_half.inl:12:27: warning: compound assignment with ‘volatile’-qualified left operand is deprecated [-Wvolatile]
   12 |                         f *= f; // this will overflow before the for loop terminates