Enable pointer type checks

PiperOrigin-RevId: 695505475
pull/19222/head
Protobuf Team Bot 4 months ago committed by Copybara-Service
parent 93b1441d83
commit 44b2f87fc2
  1. 17
      csharp/src/Google.Protobuf/Reflection/FeatureSetDescriptor.g.cs
  2. 5
      upb/bazel/build_defs.bzl

@ -1,17 +0,0 @@
#region Copyright notice and license
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#endregion
namespace Google.Protobuf.Reflection;
internal sealed partial class FeatureSetDescriptor
{
// Canonical serialized form of the edition defaults, generated by embed_edition_defaults.
private const string DefaultsBase64 =
"ChMYhAciACoMCAEQAhgCIAMoATACChMY5wciACoMCAIQARgBIAIoATABChMY6AciDAgBEAEYASACKAEwASoAIOYHKOgH";
}

@ -8,7 +8,10 @@
"""Internal rules for building upb."""
_DEFAULT_CPPOPTS = []
_DEFAULT_COPTS = []
_DEFAULT_COPTS = [
# this is a compile error in C++ clang and GNU C, but not clang C by default
"-Werror=incompatible-pointer-types",
]
_DEFAULT_CPPOPTS.extend([
"-Wextra",

Loading…
Cancel
Save