link error for 2+ static this()
    Carlos Santander 
    csantander619 at gmail.com
       
    Wed Jun  7 05:20:40 PDT 2006
    
    
  
Walter Bright escribió:
> BCS wrote:
>> this gives a link error with somthing about duplicate symbols.
>>
>> <code>
>> void main(){}
>> static this(){}
>> static this(){}
>> <\code>
> 
> That's because there are two static constructors, which is not legal.
But it could be caught at compile time, instead, giving an appropriate error 
message.
-- 
Carlos Santander Bernal
    
    
More information about the Digitalmars-d-bugs
mailing list