How to understand some macro only found in esp-idf's components folder?

User avatar
Gfast2
Posts: 182
Joined: Fri Aug 11, 2017 1:52 am

How to understand some macro only found in esp-idf's components folder?

Postby Gfast2 » Thu Dec 07, 2017 1:29 pm

Hi ESP-IDF,

For example, I encounter compiling time problem marked with "NI_NUMERICHOST undeclared". And I "grep" all things under "~/esp/". There is some call of this macro here (see screenshot).

If I didn't found its definition there, is that means, it is not supported by esp-idf?
But why there is still some thing call this macro?

Cheers

Gfast2
NI_MUMERICHOST.png
NI_MUMERICHOST.png (85.98 KiB) Viewed 3887 times

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: How to understand some macro only found in esp-idf's components folder?

Postby ESP_Angus » Thu Dec 07, 2017 10:51 pm

Gfast2 wrote: If I didn't found its definition there, is that means, it is not supported by esp-idf?
But why there is still some thing call this macro?
That's correct, it's not supported.

The references to it are in the nghttp2 submodule, which is the full upstream source of nghttp2 - we clone it unmodified so it contains a lot of code which is not compiled for ESP-IDF.

Angus

User avatar
Gfast2
Posts: 182
Joined: Fri Aug 11, 2017 1:52 am

Re: How to understand some macro only found in esp-idf's components folder?

Postby Gfast2 » Fri Dec 08, 2017 7:17 am

Hi Angus,

Super clear now. Big thanks again! ;)

Cheers

Gfast2

Who is online

Users browsing this forum: No registered users and 104 guests