ldc2 exception handling on macOS

Peter Jacobs peterj at mech.uq.edu.au
Sun Jun 2 10:02:23 UTC 2024


On Sunday, 2 June 2024 at 08:52:13 UTC, Sergey wrote:
> On Sunday, 2 June 2024 at 08:26:24 UTC, Sergey wrote:
>> On Sunday, 2 June 2024 at 07:08:23 UTC, Peter Jacobs wrote:
>>> I am working on a reasonable large Dlang program that links 
>>> to C and Fortran libraries.
>>
>> Sounds interesting. In which area is your project? Scientific 
>> computations?
>
> Ooh its about Eilmer (gdtk). Cool

Yes, that is the main code.  It has been good fun and Dlang has 
been good to us.  These days some of the postdocs run 
calculations on thousands of cores simultaneously so we get good 
value from the easy binding with C libraries such as MPI.

Thanks for the suggested workaround.  When I was trying to build 
a small example, it was not until I put the throw inside the 
get_stuff function that I could trigger the odd behaviour.  Maybe 
that could be a clue to someone who knows the insides of ldc2.

Cheers,
Peter J.



More information about the Digitalmars-d mailing list