On 2/25/2012 07:05, Alon Bar-Lev wrote:
> Hello,
> Should be supported, right?
> Thanks!
> Alon
> ---
> #include <time.h>
> #include <wchar.h>
> 
> int main(void) {
>         _wctime(NULL);
>         return 0;
> }
> ---
> $ i686-w64-mingw32-gcc -pedantic -Wall -Wextra a.c
> /usr/lib/gcc/i686-w64-mingw32/4.5.3/../../../../i686-w64-mingw32/lib/libmingwex.a(lib32_libmingwex_a-_wctime32.o):(.text+0x4):
> undefined reference to `__imp__wctime'
> collect2: ld returned 1 exit status
> ---
> [I-O] [  ] cross-i686-w64-mingw32/binutils-2.22-r1:i686-w64-mingw32
> [I-O] [  ] cross-i686-w64-mingw32/gcc-4.5.3-r2:i686-w64-mingw32-4.5
> [I-O] [  ] cross-i686-w64-mingw32/mingw64-runtime-20110523:0
> ---

Checking trunk msvcrt.def, it has: _wctime DATA
And compiling said _wctime32 gives: __imp___wctime, not __imp__wctime.

So something else went wrong in your build process. Did you mess with
the underscore prefix?

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to