Open chenrui333 opened 3 months ago
I’m on my phone so I can’t test right now, so I can just go with looking at the code and the error message.
based on the code:
https://github.com/jordansissel/xdotool/blob/eb489de1b4fb3fd0cd935d68ae16ecd4c653ac7d/xdo.c#L1394
all items appear to be char here (including the return type of strdup), and none should be int. I’m not sure I understand why it’s reporting an int-char conversion in this scenario.
Oh I wonder if on macOS we are missing a header declaration for strdup? C function default type is int if undeclared.
macOS docs indicate strdup comes from string.h which xdo.c does include. I’m unable to dig into this further without being on my computer. If yall find anything, let me know :)
also, does this still fail on the master branch?
👋 while regression build 3.20211022.1 release, I found some incompatible integer to pointer conversion error as below
relates to https://github.com/Homebrew/homebrew-core/pull/180081