On Thu, Nov 21, 2013 at 11:02:24PM -0500, Ken Hornstein wrote: > So ... looking at this code ... it seems like the core problem is that > TAILQ_HEAD and TAILQ_ENTRY are two different types (even though they > literally the same structure layout). So if TAILQ_HEAD and TAILQ_ENTRY > were the same structure, it wouldn't be an issue. It doesn't quite leap > out to me how that would be possible without changing the API a bit.
Right. Let's break the API and fix it for real (which also should cover making it usable for a C++ compiler). Martin