[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-glpk] Segfault in jday function
From: |
Andrew Makhorin |
Subject: |
Re: [Bug-glpk] Segfault in jday function |
Date: |
Mon, 08 Jul 2013 10:10:46 +0400 |
Xypron,
> so you do not want to support Linux because it is not 100% Posix?
> Neither all those other Unix derivatives that will indicate an error
> in gettimeofday?
>
In this particular case the bug reported by Jiri is a bug in the mingw64
version of gettimeofday. There is a specification error, because
someone, perhaps some function from the C library, displays the message:
warning: Invalid parameter passed to C runtime function.
So, it is not a compatibility issue, and just checking the return code
wouldn't fix the bug.
I think it is not a good idea to change the code because of a buggy
compiler and/or buggy implementation of the standard library.