kou commented on issue #46258:
URL: https://github.com/apache/arrow/issues/46258#issuecomment-2856773278

   Thanks. I got it.
   
   Qt defines `signals` macro as `public`. So the `signals` parameter name in 
https://github.com/apache/arrow/blob/272715f6df2a042d69881ffa03d5078c58e4b345/cpp/src/arrow/util/cancel.h#L112
 is replaced to `public`. It causes the error because `public` is a C++ keyword.
   
   How to fix: Define `QT_NO_META_MACROS` before you include Qt. It prevents 
defining the `signals` macro.
   


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to