Andrew Makhorin wrote:
The exception happens in a Posix version of glp_time function. It is
difficult to say what is wrong, most likely it is some MINGW64
inconsistency, because under GNU/Linux this code works.

To fix the bug you may simply to disable using the configuration header
(created by the configure script) by replacing the fragment in file
glpk-4.51/src/env/time.c, lines 24-26:

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

with the following one:

#if 0
#include <config.h>
#endif

In this case an ANSI portable version will be used, which should work on
any platform.

Hope this helps.

Yes, this workaround works fine.

BTW, who displays the message "warning: Invalid parameter passed to C
runtime function." ? It is not a glpk message.

Since I didn't change anything in the glpk source and the message is not displayed when glpk runs outside GDB, the message has to come from GDB.

Thanks,
Jiri

_______________________________________________
Bug-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to