[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] 0.9.26 regression on WIN32 - utime() links to _utime3
From: |
grischka |
Subject: |
Re: [Tinycc-devel] 0.9.26 regression on WIN32 - utime() links to _utime32 instead of _utime in msvcrt.dll |
Date: |
Tue, 25 Mar 2014 21:20:27 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
Peter wrote:
Hi,
Since I am new here I am not sure if it is proper form to send bug reports to
the mailing list so I apologize if it is not.
I have discovered the following problem and submitted a bug
http://savannah.nongnu.org/bugs/index.php?41950
The following simple program:
#include <sys/utime.h>
int main(int argc, char **argv)
{
utime(argv[1], 0);
}
compiled win 0.9.26 on WIN32 (Windows XP SP3) links to the
- non existing - _utime32 export from msvcrt.dll instead of the
correct one (_utime). It compiles correctly with 0.9.25.
Sometimes things exist, and sometimes they don't.
Anyway, I guess there are some ways to solve this:
- install a newer msvcrt.dll
- use the older utime.h
- hack the newer utime.h
- patch the tinycc mob version, in case you want to make
everybody's life easier, wrt utime on XP.
--- grischka
There is a ZIP file with all the relevant files attached to the bug report.
Best regards,
Peter