From d6af2e31b854ca8cf32c350dc908afc3e0898140 Mon Sep 17 00:00:00 2001 From: Generative Computing Date: Thu, 26 Mar 2026 07:01:35 -0700 Subject: [PATCH] Internal C++ warnings cleanup PiperOrigin-RevId: 889816903 --- genc/cc/interop/backends/java/BUILD | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/genc/cc/interop/backends/java/BUILD b/genc/cc/interop/backends/java/BUILD index 61d83cc..5df7184 100644 --- a/genc/cc/interop/backends/java/BUILD +++ b/genc/cc/interop/backends/java/BUILD @@ -31,10 +31,6 @@ cc_library( name = "open_ai_client_jni", srcs = ["open_ai_client_jni.cc"], hdrs = ["open_ai_client_jni.h"], - copts = [ - "-Wno-write-strings", # The generated JNI header fails this. - "-Wno-writable-strings", # The generated JNI header fails this. - ], deps = [ "//genc/java/src/jni:copy_jni_hdr_lib", "//genc/java/src/jni:jni_utils", @@ -70,10 +66,6 @@ cc_library( name = "google_ai_client_jni", srcs = ["google_ai_client_jni.cc"], hdrs = ["google_ai_client_jni.h"], - copts = [ - "-Wno-write-strings", # The generated JNI header fails this. - "-Wno-writable-strings", # The generated JNI header fails this. - ], deps = [ "//genc/java/src/jni:copy_jni_hdr_lib", "//genc/java/src/jni:jni_utils", @@ -109,10 +101,6 @@ cc_library( name = "mediapipe_llm_inference_client_jni", srcs = ["mediapipe_llm_inference_client_jni.cc"], hdrs = ["mediapipe_llm_inference_client_jni.h"], - copts = [ - "-Wno-write-strings", # The generated JNI header fails this. - "-Wno-writable-strings", # The generated JNI header fails this. - ], deps = [ "//genc/java/src/jni:copy_jni_hdr_lib", "//genc/java/src/jni:jni_utils", @@ -147,10 +135,6 @@ cc_library( name = "wolfram_alpha_client_jni", srcs = ["wolfram_alpha_client_jni.cc"], hdrs = ["wolfram_alpha_client_jni.h"], - copts = [ - "-Wno-write-strings", # The generated JNI header fails this. - "-Wno-writable-strings", # The generated JNI header fails this. - ], deps = [ "//genc/java/src/jni:copy_jni_hdr_lib", "//genc/java/src/jni:jni_utils",