Tango 0.96 beta2 released

Sean Kelly sean at f4.ca
Fri Mar 16 12:13:07 PDT 2007


Sean Kelly wrote:
> Frits van Bommel wrote:
>> It doesn't compile for me... :(
>> OS: Ubuntu 6.10 (Edgy) amd64
>> Compiler: gdc (GCC) 4.1.1 20060524 (  (gdc 0.23, using dmd 1.007))
>>
>> ---
>> urxae at urxae:~/opt/tango/tango-0.96-src/lib$ ./build-gdc.sh
>>
>> [...]
>>
>> gdc -o lifetime.o -g -frelease -O2 -fversion=GC_Use_Alloc_MMap 
>> -fversion=GC_Use_Stack_GLibC -fversion=GC_Use_Data_Fixed -nostdinc 
>> -pipe -I../../..   \
>>         -c lifetime.d
>> .../../../tango/stdc/stdarg.d:21: Error: cannot have out or inout 
>> parameter of type ubyte[24][1]
>> .../../../tango/stdc/stdarg.d:815: template instance 
>> tango.stdc.stdarg.va_start!(uint) error instantiating
> 
> This is a known issue I'm afraid.  GDC designates va_start as an 
> intrinsic and it must be located in either std.stdarg or std.c.stdarg 
> (and the behavior is actually different for each of the two).  The 
> easiest fix would be to add these two modules to the 'std' package in 
> Tango (just like intrinsic) and have the appropriate Tango modules 
> import them in a "GNU" block.  Those modules are: tango.core.Vararg and 
> tango.stdc.stdarg.  I'd have fixed this prior to release but I just 
> figured out the problem a day or two ago and haven't had time.  Expect 
> this to be fixed in trunk in the next few days.

Okay, I've checked a fix into trunk.  If anyone is inclined to try it 
out, please let me know if it works.


Sean



More information about the Digitalmars-d-announce mailing list