Jiyuan Zheng
Jiyuan Zheng
[karabiner-elements](https://github.com/pqrs-org/Karabiner-Elements) is all you need.
> > [karabiner-elements](https://github.com/pqrs-org/Karabiner-Elements) is all you need. > > I think he was asking, to be able to assign third mouse button on the scroll to do certain tasks Karabiner-elements...
What Clang version do you have? I have the same issue in my case (running demo also fails for host target). I suspect it's related to the build tools version,...
I have solved the problem by using the following workaround: `sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/* /Library/Developer/CommandLineTools/usr/include/c++/v1`. However, I'm not sure how the normal `/Library/Developer/CommandLineTools/usr/include/c++/v1` dir looks like.
`clang -v -E -x c++ - < /dev/null` give me the following: ``` Apple clang version 16.0.0 (clang-1600.0.21.4) Target: arm64-apple-darwin24.0.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin ... OMIT SOME LINES... clang...
The snippet you posted would be ok. If you leave off the semicolon of the last expression, the compiler will complain.