Hi there,
Does anyone know how to catch fortran exceptions, thrown in a Fortran function which I call from C++? I don't know how these exceptions are defined, the .dll and .so is the only thing I've got.
Am I doomed?
Thanks a lot!!
Hi there,
Does anyone know how to catch fortran exceptions, thrown in a Fortran function which I call from C++? I don't know how these exceptions are defined, the .dll and .so is the only thing I've got.
Am I doomed?
Thanks a lot!!
As far as I know, FORTRAN doesn't have exceptions (unless you're using something newfangled like F# for a language that should have died a long time ago).
QuantumPete
"No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
"Have you tried turning it off and on again?" - The IT Crowd
Unless it's about floating point/math exceptions, such as divide by zero or memory exceptions such as out of bounds memory accesses. Those would be catchable with Windows exception handling or Unix signals, but not standard C++ exception handling.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.