This is an automated email from the ASF dual-hosted git repository.

chhsiao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit d262c5d59baa3b96ab9001bd6dcdd4b64c9495be
Author: Chun-Hung Hsiao <[email protected]>
AuthorDate: Wed Dec 19 14:25:55 2018 -0800

    Removed the unnecessary `-Wno-array-bounds` flag for gRPC build.
---
 3rdparty/Makefile.am | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/3rdparty/Makefile.am b/3rdparty/Makefile.am
index e625e7b..a14216c 100644
--- a/3rdparty/Makefile.am
+++ b/3rdparty/Makefile.am
@@ -449,16 +449,12 @@ $(LIB_GRPC): $(GRPC)-build-stamp
 #
 # We use EXTRA_CPPFLAGS to pass `-Wno-error`, because that one needs to be
 # appended and not prepended to the constructed flags.
-#
-# NOTE: We ignore `array-bounds` errors generated by the GLIBC's `__strcmp_cg`
-# macro used in gRPC's c-ares library when compiled with Clang.
 $(GRPC)-build-stamp: $(GRPC)-stamp                     \
                      $(PROTOBUF)-build-stamp
        cd $(GRPC) &&                                   \
          CPPFLAGS="$(PROTOBUF_INCLUDE_FLAGS)           \
                    $(SSL_INCLUDE_FLAGS)                \
                    $(ZLIB_INCLUDE_FLAGS)               \
-                   -Wno-array-bounds                   \
                    $(CPPFLAGS)"                        \
          CFLAGS="$(CFLAGS)"                            \
          CXXFLAGS="$(CXXFLAGS)"                        \

Reply via email to