This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Description
Ethernet library doesn't compile with this core because the IPAddress class in this core's release is in name space arduino. there are two problems:
- the Ethernet library friend classes are not friended because they are at global scope, not in namespace arduino
- the INADDR_NONE doesn't match the extern declaration. extern is in arduino::, the definition is not
fix 1 in IPAddress.h. forward declare classes before namespace arduino {
class EthernetClass;
class DhcpClass;
class DNSClient;
declare friends as
friend ::EthernetClass;
friend ::DhcpClass;
friend ::DNSClient;
(or fix the Ethernet library, so it doesn't use private members of the IPAddress class)
fix 2 in IPAddress.cpp
const IPAddress arduino::INADDR_NONE(0,0,0,0);