taozuhong commented on issue #2326:
URL: https://github.com/apache/arrow-adbc/issues/2326#issuecomment-2523316071
Right exactly,
I dipped into the MINGW go package, found GO compiler installed at path
`/ucrt64/lib/go`, update GOROOT env to it, the build is completed, but the
console output found some warn messages:
```
$ cmake --build .
[37/39] Building Go Static lib adbc_driver_flightsql
# github.com/apache/arrow-adbc/go/adbc/pkg/flightsql
In file included from driver.go:29,
from _cgo_export.c:4:
..\../drivermgr/arrow-adbc/adbc.h:304:1: warning: 'dllexport' attribute
ignored [-Wattributes]
304 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:357:1: warning: 'dllexport' attribute
ignored [-Wattributes]
357 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:815:1: warning: 'dllexport' attribute
ignored [-Wattributes]
815 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:838:1: warning: 'dllexport' attribute
ignored [-Wattributes]
838 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:877:1: warning: 'dllexport' attribute
ignored [-Wattributes]
877 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:1086:1: warning: 'dllexport' attribute
ignored [-Wattributes]
1086 | };
| ^
# github.com/apache/arrow-adbc/go/adbc/pkg/flightsql
In file included from .\driver.go:29:
..\../drivermgr/arrow-adbc/adbc.h:304:1: warning: 'dllexport' attribute
ignored [-Wattributes]
304 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:357:1: warning: 'dllexport' attribute
ignored [-Wattributes]
357 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:815:1: warning: 'dllexport' attribute
ignored [-Wattributes]
815 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:838:1: warning: 'dllexport' attribute
ignored [-Wattributes]
838 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:877:1: warning: 'dllexport' attribute
ignored [-Wattributes]
877 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:1086:1: warning: 'dllexport' attribute
ignored [-Wattributes]
1086 | };
| ^
# github.com/apache/arrow-adbc/go/adbc/pkg/flightsql
In file included from utils.h:27,
from utils.c:24:
../../drivermgr/arrow-adbc/adbc.h:304:1: warning: 'dllexport' attribute
ignored [-Wattributes]
304 | };
| ^
../../drivermgr/arrow-adbc/adbc.h:357:1: warning: 'dllexport' attribute
ignored [-Wattributes]
357 | };
| ^
../../drivermgr/arrow-adbc/adbc.h:815:1: warning: 'dllexport' attribute
ignored [-Wattributes]
815 | };
| ^
../../drivermgr/arrow-adbc/adbc.h:838:1: warning: 'dllexport' attribute
ignored [-Wattributes]
838 | };
| ^
../../drivermgr/arrow-adbc/adbc.h:877:1: warning: 'dllexport' attribute
ignored [-Wattributes]
877 | };
| ^
../../drivermgr/arrow-adbc/adbc.h:1086:1: warning: 'dllexport' attribute
ignored [-Wattributes]
1086 | };
| ^
[38/39] Building Go Shared lib adbc_driver_flightsql
# github.com/apache/arrow-adbc/go/adbc/pkg/flightsql
In file included from driver.go:29,
from _cgo_export.c:4:
..\../drivermgr/arrow-adbc/adbc.h:304:1: warning: 'dllexport' attribute
ignored [-Wattributes]
304 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:357:1: warning: 'dllexport' attribute
ignored [-Wattributes]
357 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:815:1: warning: 'dllexport' attribute
ignored [-Wattributes]
815 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:838:1: warning: 'dllexport' attribute
ignored [-Wattributes]
838 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:877:1: warning: 'dllexport' attribute
ignored [-Wattributes]
877 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:1086:1: warning: 'dllexport' attribute
ignored [-Wattributes]
1086 | };
| ^
# github.com/apache/arrow-adbc/go/adbc/pkg/flightsql
In file included from .\driver.go:29:
..\../drivermgr/arrow-adbc/adbc.h:304:1: warning: 'dllexport' attribute
ignored [-Wattributes]
304 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:357:1: warning: 'dllexport' attribute
ignored [-Wattributes]
357 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:815:1: warning: 'dllexport' attribute
ignored [-Wattributes]
815 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:838:1: warning: 'dllexport' attribute
ignored [-Wattributes]
838 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:877:1: warning: 'dllexport' attribute
ignored [-Wattributes]
877 | };
| ^
..\../drivermgr/arrow-adbc/adbc.h:1086:1: warning: 'dllexport' attribute
ignored [-Wattributes]
1086 | };
| ^
# github.com/apache/arrow-adbc/go/adbc/pkg/flightsql
In file included from utils.h:27,
from utils.c:24:
../../drivermgr/arrow-adbc/adbc.h:304:1: warning: 'dllexport' attribute
ignored [-Wattributes]
304 | };
| ^
../../drivermgr/arrow-adbc/adbc.h:357:1: warning: 'dllexport' attribute
ignored [-Wattributes]
357 | };
| ^
../../drivermgr/arrow-adbc/adbc.h:815:1: warning: 'dllexport' attribute
ignored [-Wattributes]
815 | };
| ^
../../drivermgr/arrow-adbc/adbc.h:838:1: warning: 'dllexport' attribute
ignored [-Wattributes]
838 | };
| ^
../../drivermgr/arrow-adbc/adbc.h:877:1: warning: 'dllexport' attribute
ignored [-Wattributes]
877 | };
| ^
../../drivermgr/arrow-adbc/adbc.h:1086:1: warning: 'dllexport' attribute
ignored [-Wattributes]
1086 | };
| ^
[39/39] Generating libadbc_driver_flightsql.dll.104,
libadbc_driver_flightsql.dll
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]