[dmd-internals] AutoTester breaking

Sean Kelly sean at invisibleduck.org
Mon Nov 7 11:53:31 PST 2011


On Nov 6, 2011, at 6:44 PM, Vladimir Panteleev wrote:

> On Sun, 06 Nov 2011 21:08:58 +0200, kenji hara <k.hara.pg at gmail.com> wrote:
> 
>> - Breaking std.socket in OSX
>> 
>>> std/socket.d(355): Error: std.c.osx.socket.IPPROTO_RAW at std/c/osx/socket.d(39) conflicts with core.sys.posix.netinet.in_.IPPROTO_RAW at ../druntime/import/core/sys/posix/netinet/in_.di(413)
>>> std/socket.d(2164): Error: std.c.osx.socket.IPV6_MULTICAST_HOPS at std/c/osx/socket.d(73) conflicts with core.sys.posix.netinet.in_.IPV6_MULTICAST_HOPS at ../druntime/import/core/sys/posix/netinet/in_.di(218)
>>> std/socket.d(2167): Error: std.c.osx.socket.IPV6_V6ONLY at std/c/osx/socket.d(78) conflicts with core.sys.posix.netinet.in_.IPV6_V6ONLY at ../druntime/import/core/sys/posix/netinet/in_.di(222)
>> 
>> It seems that is symbol definition duplication.
>> Unfortunately, I don't have OSX.
> 
> My access to Apple hardware is limited as well. Someone who maintains std.c.osx will need to look into this.

In general, the C header modules in Phobos should be be eclipsed by those in druntime.  Sounds like these definitions should be removed from std.c.osx.socket.


More information about the dmd-internals mailing list