Eclipse show red higligh in somes lines but compiles ok

iotdeveloperfw
Posts: 10
Joined: Tue Sep 22, 2020 4:53 pm

Eclipse show red higligh in somes lines but compiles ok

Postby iotdeveloperfw » Fri Feb 23, 2024 2:14 pm

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.
Attachments
ECLIPSE.jpg
ECLIPSE.jpg (30.32 KiB) Viewed 3263 times

Nikitarc
Posts: 2
Joined: Mon Feb 26, 2024 6:00 pm

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

Postby Nikitarc » Tue Feb 27, 2024 6:10 pm

Looks like some include path are not known by the editor, so can't resolve...
Is this a IDF plugin feature ?

Who is online

Users browsing this forum: No registered users and 8 guests