mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
[wpiutil] Add protobuf to thirdparty sources (#5746)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user