Page 1 of 1

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

Posted: Thu Dec 07, 2017 1:29 pm
by Gfast2
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 3888 times

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

Posted: Thu Dec 07, 2017 10:51 pm
by ESP_Angus
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

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

Posted: Fri Dec 08, 2017 7:17 am
by Gfast2
Hi Angus,

Super clear now. Big thanks again! ;)

Cheers

Gfast2