Solve warnings (at least those under my control)

This commit is contained in:
irisz64
2025-07-25 15:43:57 +02:00
parent 741b9adfbf
commit 8406239d85
13 changed files with 16 additions and 14 deletions

View File

@@ -15,7 +15,9 @@ endif()
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
if(${CMAKE_BUILD_TYPE} MATCHES Release OR ${CMAKE_BUILD_TYPE} MATCHES RelWithDebInfo)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
endif()
include_directories(
src/frontend
@@ -131,7 +133,7 @@ add_executable(kaizen
src/frontend/Debugger.hpp
src/frontend/Debugger.cpp)
target_link_libraries(kaizen PUBLIC imgui SDL3::SDL3 SDL3::SDL3-static cflags::cflags mio parallel-rdp capstone backend)
target_link_libraries(kaizen PUBLIC imgui SDL3::SDL3 SDL3::SDL3-static cflags::cflags mio::mio_full_winapi parallel-rdp capstone backend)
target_compile_definitions(kaizen PUBLIC SDL_MAIN_HANDLED)
file(COPY resources/ DESTINATION ${PROJECT_BINARY_DIR}/resources/)

View File

@@ -20,7 +20,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#define NOMINMAX
#include "rdp_renderer.hpp"
#include "rdp_device.hpp"
#include "logging.hpp"

View File

@@ -20,7 +20,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#define NOMINMAX
#include "video_interface.hpp"
#include "rdp_renderer.hpp"
#include "luts.hpp"

View File

@@ -20,7 +20,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#define NOMINMAX
#include "buffer_pool.hpp"
#include "device.hpp"
#include <utility>

View File

@@ -20,7 +20,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#define NOMINMAX
#include "command_buffer.hpp"
#include "device.hpp"
#include "format.hpp"

View File

@@ -20,7 +20,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#define NOMINMAX
#include "context.hpp"
#include "limits.hpp"
#include "small_vector.hpp"

View File

@@ -20,7 +20,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#define NOMINMAX
#include "descriptor_set.hpp"
#include "device.hpp"
#include <vector>

View File

@@ -20,7 +20,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#define NOMINMAX
#include "device.hpp"
#ifdef GRANITE_VULKAN_FOSSILIZE
#include "device_fossilize.hpp"

View File

@@ -20,7 +20,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#define NOMINMAX
#include "render_pass.hpp"
#include "stack_allocator.hpp"
#include "device.hpp"

View File

@@ -20,7 +20,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#define NOMINMAX
#include "shader.hpp"
#include "device.hpp"
#ifdef GRANITE_VULKAN_SPIRV_CROSS

View File

@@ -20,7 +20,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#define NOMINMAX
#include "texture_format.hpp"
#include "format.hpp"
#include <algorithm>

View File

@@ -20,7 +20,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#define NOMINMAX
#include "wsi.hpp"
#include "environment.hpp"
#include <algorithm>

View File

@@ -1,4 +1,4 @@
constexpr char* gamecontrollerdb_str = R"(
char const* gamecontrollerdb_str = R"(
# Game Controller DB for SDL in 2.0.16 format
# Source: https://github.com/gabomdq/SDL_GameControllerDB