-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In included file: too few arguments provided to function-like macro invocation #1
Comments
I'm also using macos and encountered this problem before. This actually is something about your clangd extension configuraiton or your gcc installation. The possible solution is:
Also, there's a link issue in homebrew llvm that might be related to this problem. What's more, could you show me your conan gcc profile by _common
gcc
|
It seems like you're using my VSCode configuration tutorial? If that's the case, the appendix actually has shown how to set |
In fact, I wrote my own XMake-based version inspired by your VSCode configuration tutorial. Because I wanted to get help, I used your configuration to reproduce the entire error when I encountered this error. |
Good to know. To give more information on this, I've actually changed the VSCode tutorial significantly on 2024/02/09, and rewritten the template used in that tutorial and this repository yesterday, so maybe it would be good for you to go take a look. |
Thank you for your solution. In fact, this problem can be easily solved through I have tested it on different computers (physical and virtual), and in fact, upgrading the gcc version is a simple and effective solution. Finally, Here is my config: Season0518/MyConfig. Based on XMake, simplified configuration and minimized network connections as much as possible. |
To clarify, the issue might be caused by the update of XCode as you mentioned. Just executing I was too lazy to mention this. Sorry for the misleading. |
After I configured gcc-13 and conan according to Configure option 2: invoice conan, then cmake, it prompted "In included file: too few arguments provided to function like macro invoice". Why is this?
OS: macOS 14.4.1 23E224 arm64
SDK:
xcode-select: version 2406
gcc: gcc-13 (Homebrew GCC 13.2.0) 13.2.0
clangd: Homebrew clangd version 18.1.5
XCode: 15.3 (SDKVersion 14.4)
The text was updated successfully, but these errors were encountered: