pitrou commented on PR #49756: URL: https://github.com/apache/arrow/pull/49756#issuecomment-4326095230
It seems that `__forceinline` on MSVC implies `inline` and so the compiler complains when you combine them: > D:\a\arrow\arrow\cpp\src\arrow/util/bpacking_dispatch_internal.h(63): error C2220: the following warning is treated as an error > D:\a\arrow\arrow\cpp\src\arrow/util/bpacking_dispatch_internal.h(63): warning C4141: 'inline': used more than once I think the solution is to add `inline` to the `ARROW_FORCE_INLINE` definition on non-MSVC compilers. -- 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]
