Tag: #include

  • #include guards in C++

    I was having issues with an ESP32 project. I needed an instance of which was sitting in <wifisetupmanager.h> I needed this in two files – <setup.h> and <endpoints.h>. Ok no big deal, lets add it 👍… not so fast!… When I added: In both files, I received the following error: src/wifisetupmanager.h:9:29: error: redefinition of ‘AsyncWiFiManager…