[exim-dev] [Bug 1761] 4.87_RC2 dns.c compile error on OpenBS…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: admin
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 1761] 4.87_RC2 dns.c compile error on OpenBSD 5.8 - 'struct in6_addr' has no member named '__in6_u'
https://bugs.exim.org/show_bug.cgi?id=1761

--- Comment #7 from Kirill Miazine <km@???> ---
(In reply to jasen Betts from comment #6)
> C99 allows the use of buffer[] instead of buffer[1] as the last element of a
> struct for the case when it is variable size,


The report was for the error 'struct in6_addr' has no member named '__in6_u',
not the other warnings, so the bug may be marked resolved.

> what's the oldest C standard that must be supported?


I'm sorry, but I don't know. Compiler is "gcc (GCC) 4.2.1 20070719" and it
certainly should be supporting C99. The checks might be some OpenBSD specific
additions to try to catch bugs.

--
You are receiving this mail because:
You are on the CC list for the bug.