using GC needs particular skills?

Mike Parker aldacron at gmail.com
Sun Jul 15 19:46:07 PDT 2012


On 7/16/2012 1:01 AM, Alexandr Druzhinin wrote:
> 15.07.2012 22:56, Alexandr Druzhinin пишет:
>> 15.07.2012 22:33, Alex Rønne Petersen пишет:
>> test case:
>>
>> class A {
>> }
>> __gshared A a;
>>
>>   void main(string[] args) {
>>       a = new A;
>> }
>>
>> every time after finishing application I get
>> core.exception.InvalidMemoryOperationError
>> I suspect the problem is misusing __gshared
>
> sorry for my hurry - I've localized the problem in the linked libraries,
> not in my code. Will find further... what the h*ll
> Sorry again
>

Which libraries are you linking with?



More information about the Digitalmars-d-learn mailing list