ldc compiled binaries seg faults

David Nadlinger code at klickverbot.at
Thu Oct 17 10:46:09 PDT 2013


On Thu, Oct 17, 2013 at 7:44 PM, David Nadlinger <code at klickverbot.at> wrote:
> As your program seems to be built
> with optimizations on, location info is usually not perfectly
> reliable, and the issue might include any of the called functions. It
> is unlikely that it is actually in DerelictSDL2.load(), but it could
> be.

I just had a look at the source, and DerelictSDL2.load() is actually
the first line in the constructor, so the issue might have nothing to
do with DerelictSDL2 at all. The easiest way to see this would be to
try flipping the order of the calls in the constructor.

David


More information about the digitalmars-d-ldc mailing list