9 years, 8 months ago.

EthernetInterface() needs update after latest mbed build

Hello,

EthernetInterface() needs a minor update due to the latest mbed build that redefines the mbed_error.h file

File: EthernetInterface/lwip-sys/arch/sys_arch.c

/* mbed includes */
//#include "error.h"           //old
#include "mbed_error.h"        //new

...kevin

This update is required in many places, was it such a good idea to change the name of the error file?

posted by george michie 19 Aug 2014

@george, the error header file is mbed specific header file, which implementations is valid for only mbed library as it is using mbed specific functionality. The generic name "error" can be used by 3rd party libraries which leads to conflicts.

posted by Martin Kojtal 19 Aug 2014

After doing this I get four warnings "Intrinsic is deprecated ... "

posted by Koen Kempeneers 06 Oct 2015

1 Answer

9 years, 8 months ago.

Hello,

I'll update it in a minute. THanks for pinpointing it

Regards,
0xc0170

Accepted Answer