dusalex
dusalex
Thanks @sean-mcmanus for the super-fast reply! With 0.29.0-insiders, code formatting on save appears to be broken (my source file takes forever to save, and there is a message popping up...
In case you want to try to reproduce, here is what I did (on macOS 10.15.5): - Install current version of Arduino IDE (1.8.13) - Install VS Code, PlatformIO, ms-vscode.cpptools...
@sean-mcmanus Great, thanks so much! I can confirm that adding adding "__STATIC_INLINE" to the defines list in "c_cpp_properties.json" fixes the issue also for me! If I understand the situation correctly,...
Just a note for other noobies like me: As PlatformIO regenerates the "c_cpp_properties.json" file, you need to tell PlatformIO to include the respective define for you using the "build_flags" option,...
Thanks @sean-mcmanus that's great news. I'll give it a try (and also provide feedback on the clang topic) as soon as I can continue to work on our project (I'm...
@sean-mcmanus: Thanks again. I can confirm that 0.29.0-insiders2 fixes the bug for me as well. clang-x86 (instead of clang-arm, which didn't) seems to work, however, PlatformIO overwrites the setting back...
Oh, wait, this is new... Now I'm getting an "include error detected" message, when I use clang-x64. It goes away with clang-x86, but I don't know how to make this...
... and more annoying, I get lots of build errors if I add ``` build_flags = -D__STATIC_INLINE ``` to my platformio.ini
So, the only thing that currently works is manually adapting c_cpp_properties.json to add "__STATIC_INLINE" to the "defines" list and to change "intelliSenseMode" to "clang-x86". However, I will lose both modifications...
@Harbinguer You can look at the pull request I created (just above your post). Until it is integrated into a new release of the flutter_barcode_scanner package, you can either fork...