Page 1 of 1

Eclipse show red higligh in somes lines but compiles ok

Posted: Fri Feb 23, 2024 2:14 pm
by iotdeveloperfw
Hi, I'm using Espressif-IDE Version: 2.11.1 Build id: 20231027-0959 ESP_IDF: 4.4.6 ESP32_Arduino: 2.11.1, I've noted that in differents ECLIPSE ide's compiles ok the code but allways appears red lines highligted in some code lines and a kind of insect (hehehe) at the begining of the line why it happens?? I can compile, run and debugging sucessfully but it sometimes distract us. For example I compile the following code.


#include <functional>
namespace SIXCOMMCU
{

using rxCallback = std::function<void(uint8_t* data, unsigned int data_len)>;

}

But I got a message showing the message: Type 'std::function<void(uint8_t* data, unsigned int data_len)>' could not be resolved

But all compiles ok and run as well.

Thank you in advance for your time.

Re: Eclipse show red higligh in somes lines but compiles ok

Posted: Tue Feb 27, 2024 6:10 pm
by Nikitarc
Looks like some include path are not known by the editor, so can't resolve...
Is this a IDF plugin feature ?