Hello,
When attempting to compile lwIP with g++, there are a number of errors
thrown, all of which are due to missing typecasts. I've attached a
simple patch that shows all the locations that need to be changed.
Besides this, it is also a good practice to protect all function
declarations in all header files with extern "C", so that the files
can be compiled with g++ or gcc. e.g.:
#ifdef __cplusplus
extern "C" {
#endif
int foo();
#ifdef __cplusplus
};
#endif
Unfortunately this would touch pretty much all header files, but would
be a nice thing to have.
Siva
--
In the end, everything is a gag.
Charlie Chaplin