On 1/10/19 12:30 PM, Russel Winder wrote:
On Thu, 2019-01-10 at 10:00 -0500, Steven Schveighoffer via Digitalmars-d-
learn wrote:
[…]

Hm... your description of having the problem happen at the end of main
seems to suggest it has something to do with destruction.


It seems that there was a change in one file of libdvbv5 1.14.x → 1..16.y that
introduced a breaking change wrt the D binding. I did a regeneration using
DStep, didn't notice anything significant, and yet everything now works again.
So it was very significant.

The underlying problem here was that I had failed to notice the upgrade of
libdvbv5!

That is one problem with linking against C or C++ code -- changes to certain things (e.g. struct layout) don't change the mangling.

You may want to consider using dpp instead if possible.

-Steve

Reply via email to