DMD 1.007 release

Walter Bright newshound at digitalmars.com
Wed Feb 21 01:09:41 PST 2007


kris wrote:
>> Either that, or the o.w. linker has bugs in it. snn.lib works fine.
> 
> Anything is possible :)
> 
> Just for posterity, here's the OW linker output; almost all warnings:
> 
> Warning! W1027: file phobos.lib(typeinfo\ti_Acreal.d): redefinition of 
> _D11TypeInfo_AC6__initZ ignored

That's a bug in the OW linker. COMDATs can be multiply defined.

> Warning! W1027: file phobos.lib(typeinfo\ti_Acreal.d): redefinition of 
> _D11TypeInfo_AC7__ClassZ ignored
> Warning! W1027: file phobos.lib(typeinfo\ti_Acreal.d): redefinition of 
> _D11TypeInfo_AC6__vtblZ ignored
> Warning! W1027: file phobos.lib(typeinfo\ti_creal.d): redefinition of 
> _D10TypeInfo_C6__initZ ignored
> Warning! W1027: file phobos.lib(typeinfo\ti_creal.d): redefinition of 
> _D10TypeInfo_C7__ClassZ ignored
> Warning! W1027: file phobos.lib(typeinfo\ti_creal.d): redefinition of 
> _D10TypeInfo_C6__vtblZ ignored
> Warning! W1027: file phobos.lib(typeinfo\ti_double.d): redefinition of 
> _D10TypeInfo_d6__initZ ignored
> Warning! W1027: file phobos.lib(typeinfo\ti_double.d): redefinition of 
> _D10TypeInfo_D7__ClassZ ignored
> Warning! W1027: file phobos.lib(typeinfo\ti_double.d): redefinition of 
> _D10TypeInfo_D6__vtblZ ignored
> Warning! W1027: file phobos.lib(typeinfo\ti_ptr.d): redefinition of 
> _D10TypeInfo_p6__initZ ignored
> Warning! W1027: file phobos.lib(typeinfo\ti_ptr.d): redefinition of 
> _D10TypeInfo_p7__ClassZ ignored
> Warning! W1027: file phobos.lib(typeinfo\ti_ptr.d): redefinition of 
> _D10TypeInfo_p6__vtblZ ignored
> Warning! W1027: file snn.lib(..\core32\_exit2.c): redefinition of __Exit 
> ignored
> Warning! W1027: file snn.lib(..\ios\stream.cpp): redefinition of istream 
> &cdecl ws(istream &) ignored
> Error! E2166: file snn.lib(..\win32\constart.c): both 
> __DllMainCRTStartup at 12 and _mainCRTStartup marked as starting symbols
> Error! E2166: file snn.lib(..\win32\winstart.c): both 
> __DllMainCRTStartup at 12 and _WinMainCRTStartup marked as starting symbols

Those aren't errors. Multiple start addresses can be in the library, you 
just can't link both of them into the same exe.

> Warning! W1027: file snn.lib(..\WIN32\TRACE\TRACE.C): redefinition of 
> _trace_setlogfilename ignored
> Warning! W1027: file snn.lib(..\WIN32\TRACE\TRACE.C): redefinition of 
> _trace_setdeffilename ignored
> Warning! W1027: file snn.lib(..\WIN32\TRACE\TRACE.C): redefinition of 
> _trace_term ignored
> Warning! W1027: file snn.lib(..\WIN32\TRACE\TRACE.C): redefinition of 
> __trace_pro_n ignored
> Warning! W1027: file snn.lib(..\WIN32\TRACE\TRACE.C): redefinition of 
> __trace_epi_n ignored
> Error! E2166: file snn.lib(..\win32\wconstar.c): both 
> __DllMainCRTStartup at 12 and _wmainCRTStartup marked as starting symbols
> Error! E2166: file snn.lib(..\win32\wwinstar.c): both 
> __DllMainCRTStartup at 12 and _wWinMainCRTStartup marked as starting symbols
> Warning! W1027: file snn.lib(..\core\_wfopen.c): redefinition of 
> __wfopen ignored
> 



More information about the Digitalmars-d-announce mailing list