Skip to content

Commit

Permalink
Fixed build error when upgraded to VS 2019 or later
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Mar 3, 2022
1 parent edf144c commit 8adfe53
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@

#pragma once

#pragma warning(disable : 4619 4616 26812)
// C4619/4616 #pragma warning warnings
// 26812: The enum type 'x' is unscoped. Prefer 'enum class' over 'enum' (Enum.3).

// Use the C++ standard templated min/max
#define NOMINMAX

Expand Down Expand Up @@ -52,16 +56,20 @@
#include <DirectXColors.h>

#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <cwchar>
#include <exception>
#include <iterator>
#include <memory>
#include <set>
#include <stdexcept>
#include <string>
#include <system_error>
#include <tuple>
#include <vector>

Expand Down

0 comments on commit 8adfe53

Please sign in to comment.