Thiago wrote: > Ah, I understand now. Yes, indeed, this is a bug and should be fixed. The > code should have: > > #if !defined(OC_ROUTING_EP) && !defined(OC_ROUTING_GW) # error > One of OC_ROUTING_EP and OC_ROUTING_GW should be defined #endif > > Alternatively, we should drop the need for the EP #define and just assume > everything is an endpoint, unless OC_ROUTING_GW is set.
I much prefer the alternative. Apps shouldn't have to do defines to get default behavior. Dave
