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

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 52cd6cb73 refactor(c/driver/framework): ignore -Wunused-template 
(#4727)
52cd6cb73 is described below

commit 52cd6cb739ac1c1140a777b2ab737ecd3d619353
Author: David Li <[email protected]>
AuthorDate: Fri Aug 28 09:21:27 2026 +0900

    refactor(c/driver/framework): ignore -Wunused-template (#4727)
    
    Closes #4726.
---
 c/driver/framework/status.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/c/driver/framework/status.h b/c/driver/framework/status.h
index d42535e5a..cef81ac79 100644
--- a/c/driver/framework/status.h
+++ b/c/driver/framework/status.h
@@ -35,6 +35,11 @@
 
 /// \file status.h
 
+#ifdef __clang__
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunused-template"
+#endif
+
 namespace adbc::driver {
 
 /// \brief A wrapper around AdbcStatusCode + AdbcError.
@@ -375,3 +380,7 @@ STATUS_CTOR(Unknown, UNKNOWN)
 #define UNWRAP_NANOARROW(ERROR, CODE, RHS)                                     
         \
   UNWRAP_NANOARROW_IMPL(UNWRAP_RESULT_NAME(driver_errno_na, 
RESULT_NAME_SUFFIX), ERROR, \
                         CODE, RHS)
+
+#ifdef __clang__
+#pragma clang diagnostic pop
+#endif

Reply via email to