16.07.2012 9:46, Mike Parker пишет:
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?


The reason were bindings to GeographicLib C++ library written in analogue to Derelict bindings (I used it in my projects too).
Now I'm trying to make simple test cases for my trouble.

Reply via email to