Replies: 1 comment 2 replies
-
can you please run "CMake: log diagnostics" and share the results with us? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Flutter Linux project, it uses
g_autoptr
macro everywhere. Everyone can reproduce the issue by creating a new flutter project for linux platform and check main.cc in linux directory.I open the project with VSCode and configure it with CMakeTools > Configure.
Intellisesense works fine except that it shows red squiggles for
g_autoptr
macro. When I jump to the source code, it greyed out. Even though it seems error in VSCode, it compiles successfully usingflutter build linux
I have no experience with C/C++. Hence my assumption is that Intellisense doesn't pass the same definition as the build or something that result in
g_autoptr
unrecognized or greyed out.Because the Intellisense uses CMakeTools configuration, then I create the question here. Any suggestion is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions