You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by li...@apache.org on 2023/02/16 14:35:06 UTC
[arrow-adbc] branch main updated: build(go/adbc/drivermgr): explicitly set -std=c++11 (#462)
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 d263644 build(go/adbc/drivermgr): explicitly set -std=c++11 (#462)
d263644 is described below
commit d2636440b24cad4cf80a9cb351708b4cc52c1bb2
Author: David Li <li...@gmail.com>
AuthorDate: Thu Feb 16 09:35:00 2023 -0500
build(go/adbc/drivermgr): explicitly set -std=c++11 (#462)
Fixes #455.
---
go/adbc/drivermgr/wrapper.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/go/adbc/drivermgr/wrapper.go b/go/adbc/drivermgr/wrapper.go
index 5f910b1..3514bf4 100644
--- a/go/adbc/drivermgr/wrapper.go
+++ b/go/adbc/drivermgr/wrapper.go
@@ -20,6 +20,7 @@ package drivermgr
// #cgo !windows LDFLAGS: -ldl
// #cgo windows CFLAGS: -DADBC_EXPORTING
// #cgo windows CPPFLAGS: -DADBC_EXPORTING
+// #cgo CXXFLAGS: -std=c++11
// #define ADBC_EXPORTING
// #include "adbc.h"
// #include <stdlib.h>