Open taozuhong opened 1 week ago
$ cmake --build . [1/3] Building C object driver/common/CMakeFiles/adbc_driver_common.dir/utils.c.obj FAILED: driver/common/CMakeFiles/adbc_driver_common.dir/utils.c.obj C:\msys\ucrt64\bin\cc.exe -ID:/Github/arrow-adbc/c/include -ID:/Github/arrow-adbc/c/vendor -std=gnu99 -Wall -Wextra -Wpedantic -Werror -Wno-unused-parameter -Wno-maybe-uninitialized -MD -MT driver/common/CMakeFiles/adbc_driver_common.dir/utils.c.obj -MF driver\common\CMakeFiles\adbc_driver_common.dir\utils.c.obj.d -o driver/common/CMakeFiles/adbc_driver_common.dir/utils.c.obj -c D:/Github/arrow-adbc/c/driver/common/utils.c In file included from D:/Github/arrow-adbc/c/driver/common/utils.h:25, from D:/Github/arrow-adbc/c/driver/common/utils.c:18: D:/Github/arrow-adbc/c/include/arrow-adbc/adbc.h:304:1: error: 'dllimport' attribute ignored [-error=attributes] 304 | }; | ^ D:/Github/arrow-adbc/c/include/arrow-adbc/adbc.h:357:1: error: 'dllimport' attribute ignored [-error=attributes] 357 | }; | ^ D:/Github/arrow-adbc/c/include/arrow-adbc/adbc.h:815:1: error: 'dllimport' attribute ignored [-error=attributes] 815 | }; | ^ D:/Github/arrow-adbc/c/include/arrow-adbc/adbc.h:838:1: error: 'dllimport' attribute ignored [-error=attributes] 838 | }; | ^ D:/Github/arrow-adbc/c/include/arrow-adbc/adbc.h:877:1: error: 'dllimport' attribute ignored [-error=attributes] 877 | }; | ^ D:/Github/arrow-adbc/c/include/arrow-adbc/adbc.h:1086:1: error: 'dllimport' attribute ignored [-error=attributes] 1086 | }; | ^ cc1.exe: all warnings being treated as errors ninja: build stopped: subcommand failed.
The commands to reproduce the bug
cd arrow-adbc/c mkdir build cd build cmake .. cmake --build .
What happened?
Stack Trace
How can we reproduce the bug?
The commands to reproduce the bug
Environment/Setup