Re: [Mingw-w64-public] Configure error tzset()

2012-10-25 Thread Kai Tietz
Hi, well this issue is caused by invalid, or better said inadequate testcase for windows. tzname is a imported variable provided by msvcr*.dll (C-runtime). So its decoration with the dllimport-attribute is correct. We could remove from our C-headers the dllimport-attribute for dll-imported vari

Re: [Mingw-w64-public] Configure error tzset()

2012-10-25 Thread Алексей Павлов
Conftest source is: /* confdefs.h */ #define _GNU_SOURCE 1 #define _NETBSD_SOURCE 1 #define __BSD_VISIBLE 1 #define _BSD_TYPES 1 #define _DARWIN_C_SOURCE 1 #define _XOPEN_SOURCE 600 #define _XOPEN_SOURCE_EXTENDED 1 #define _POSIX_C_SOURCE 200112L #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #

[Mingw-w64-public] Configure error tzset()

2012-10-25 Thread Алексей Павлов
Hi! I have error window on crashing conftest during configure program. This error is only on 64-bit configure when on 32-bit its ok. I compare config.log's and crash is on: configure:14317: checking for working tzset() configure:14393: x86_64-w64-mingw32-gcc -o conftest.exe -O2 -pipe -fomit-frame-