[wpiutil] Add protobuf to thirdparty sources (#5746)

This commit is contained in:
Peter Johnson
2023-10-14 21:54:17 -07:00
committed by GitHub
parent 210255bfff
commit 638f04f626
218 changed files with 140806 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
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/11] 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 {