Open
Description
The header file has a line:
const IPAddress INADDR_NONE(0,0,0,0);
Which means every file that includes this header will be assigned its own INADDR_NONE. Projects with limited static memory will encounter problems when this file is included in many .cpp files.
A suggested workaround (which I have confirmed works) would be to make IPAddress.h say extern const IPAddress INADDR_NONE;
and define the actual variable in IPAddress.cpp as const IPAddress INADDR_NONE(0,0,0,0);
Metadata
Metadata
Assignees
Labels
No labels