MSVC: fix several compiler warnings

This commit is contained in:
wmayer
2023-09-12 15:46:57 +02:00
committed by wwmayer
parent d793d1c177
commit d9d7bf87ae
11 changed files with 76 additions and 45 deletions

View File

@@ -1,4 +1,11 @@
#include "gtest/gtest.h"
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#endif
#include <Base/BoundBox.h>
#include <boost/beast/core/span.hpp>

View File

@@ -2,6 +2,10 @@
#include "gtest/gtest.h"
#ifdef _MSC_VER
#pragma warning(disable : 4996)
#endif
#include "Base/Exception.h"
#include "Base/Reader.h"
#include <array>