VS: editor disagrees with build results
Posted: Mon Nov 15, 2021 12:45 am
Hi all -
I'm trying to clean up some minor issues with my use of the IDE. Currently, the editor detects errors that don't show up in the build. Hopefully this picture is a good representation: I'm guessing that the editor is finding its way to an incorrect header file when there are multiple instances (for example, socket.h or lwipopts.h), but I'm not sure what to do about this. Do I need to refine the includePath definition in my c_cpp_properties.json file? Currently I'm just using a wildcard:
Thanks for any explanation of this.
I'm trying to clean up some minor issues with my use of the IDE. Currently, the editor detects errors that don't show up in the build. Hopefully this picture is a good representation: I'm guessing that the editor is finding its way to an incorrect header file when there are multiple instances (for example, socket.h or lwipopts.h), but I'm not sure what to do about this. Do I need to refine the includePath definition in my c_cpp_properties.json file? Currently I'm just using a wildcard:
Code: Select all
"${config:idf.espIdfPathWin}/components/**",