The only remarkable thing I see is in httpclient.cpp and example.cpp. The httpmsg String is extern’ed in httpclient.cpp (not .h) but declared as a file scope String var in example.cpp which includes httpclient.h.
Doesn’t this create a compile order dependent declaration for this var?
@bko, I have to apologize. It seems that I was not using the latest version of the HTTPClient library which does not have that extern. However, even with the new library, the code still compiles fine locally but not with CLI.
building off of latest master for all, and pulled again with no updates. That said, ideally it should have compiled without needing to build clean, so I'm guessing there is some issue with the String library object and how it links with fresh sources.