lidavidm commented on PR #13434:
URL: https://github.com/apache/arrow/pull/13434#issuecomment-1167609277

   Protobuf does not interact very well with dllexport declarations (seemingly 
on purpose/the team considers it a bad idea: 
https://groups.google.com/g/protobuf/c/PDR1bqRazts) so hopefully this works to 
get Flight SQL on Windows (MinGW/MSVC).
   
   The root of the issue here is that client_test.cc uses the Protobuf classes 
directly, which then means we have to deal with getting dllexport/dllimport 
annotated in all the right places in the generated Protobuf sources (and the 
compiler apparently does not do this fully correctly). The tests can't really 
be rewritten to not use the Protobuf classes directly, but given those tests 
rely exclusively on mocks, I wonder if they're even worth keeping. CC @jduo 


-- 
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]

Reply via email to