Joerg wrote:
On Fri, Nov 12, 2010 at 09:41:53PM +0000, corvid wrote:
I thought I'd at least look into the inet_ntop() -> getnameinfo() bit, and I see that the latter is posix 2001.
It is relatively easy to emulate the ipv4 part of getnameinfo(), but a lot harder to properly support IPv6 without using it.
I remember Justus doing some work on IPv6. Is it not complete?
Do we have an official position on posix 2001?
And, for that matter, C99?
Primary issue with depending on certain C99 stuff is that Microsoft still hasn't managed to support it in the runtime library or insists on doing it in incompatible ways. E.g. %lld doesn't work on Windows.
Yeah, I see that on http://en.wikipedia.org/wiki/C99#Implementations , level of support is generally 'mostly' or 'partial'. I was thinking that it might be valuable to decide on what subset is all right (which, admittedly, "Using gcc and not seeing any warnings" can be regarded as, after a fashion. :) -- even if only to bring awareness of "Oh, this is a C99ism; I hadn't realized." The dillo site does spell out, for instance, that for C++, "We also try to keep the C++ relatively simple. Dillo does use inheritance and templates, but that's about all."