DiligentGraphics / DiligentEngine

A modern cross-platform low-level graphics library and rendering framework
http://diligentgraphics.com/diligent-engine/
Apache License 2.0
3.63k stars 331 forks source link

unused variable causes build to fail in Visual Studio 2022, Windows 11. warning is treated as error #177

Closed wegesdal closed 2 years ago

wegesdal commented 2 years ago

line 192 in Diligent-Archiver-static
//const bool HasSpaces = RootSig.GetTotalSpaces() > 1;

Build succeeds if this line is commented out.

TheMostDiligent commented 2 years ago

This has been fixed in the core module, but the commit has not been updated in the main module yet.

TheMostDiligent commented 2 years ago

The main module has been updated so the issue should be fixed now.