Search found 2 matches

by elfalko
Fri Jun 30, 2017 1:18 pm
Forum: Report Bugs
Topic: Macro incompatibility between lwip/sockets.h and functional libraries
Replies: 2
Views: 6384

Re: Macro incompatibility between lwip/sockets.h and functional libraries

I found a nice and easy workaround:

Code: Select all

#include "lwip/sockets.h"
//NECESSARY to avoid conflicts
#undef bind
It seems only the bind macro is causing problems for now. So unbinding it after the inclusion avoids those.
by elfalko
Fri Jun 30, 2017 9:38 am
Forum: Report Bugs
Topic: Macro incompatibility between lwip/sockets.h and functional libraries
Replies: 2
Views: 6384

Macro incompatibility between lwip/sockets.h and functional libraries

When I try to include the lwip/sockets.h, compilation throws the attached errors. They seem to come from the fact that both the functional and sockets.h libraries have some different bind macros. Since the functional library has never caused problems before, I assume the error lies in the combinatio...