mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
25 lines
937 B
Diff
25 lines
937 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Peter Johnson <johnson.peter@gmail.com>
|
|
Date: Tue, 13 Jun 2023 23:56:15 -0700
|
|
Subject: [PATCH 08/12] Disable MSVC switch warning
|
|
|
|
---
|
|
src/google/protobuf/generated_message_reflection.cc | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/src/google/protobuf/generated_message_reflection.cc b/src/google/protobuf/generated_message_reflection.cc
|
|
index 2a807e066bb748f214e008971309ef15473344b5..599dde80b671085d87ff1812929cafe8d2aecf75 100644
|
|
--- a/src/google/protobuf/generated_message_reflection.cc
|
|
+++ b/src/google/protobuf/generated_message_reflection.cc
|
|
@@ -75,6 +75,10 @@ using google::protobuf::internal::RepeatedPtrFieldBase;
|
|
using google::protobuf::internal::StringSpaceUsedExcludingSelfLong;
|
|
using google::protobuf::internal::WrappedMutex;
|
|
|
|
+#ifdef _MSC_VER
|
|
+#pragma warning(disable : 4065)
|
|
+#endif
|
|
+
|
|
namespace google {
|
|
namespace protobuf {
|
|
|