[ros-kernel] Msvcrt & gcc-3.4.0
Nick Brereton
reactos at nbrereton.net
Sat May 29 20:30:12 CEST 2004
I've just had the same problem, I got round it by temporarilly commenting
the #include <io.h> out of "fcntl.h" in my mingw/include directory for the
duration of the compile ... not a pretty or clever solution, but it worked
for me.
-----Original Message-----
From: David Kredba [mailto:kredba at ibot.cas.cz]
Sent: Saturday, May 29, 2004 7:06 PM
To: ros-kernel at reactos.com
Subject: [ros-kernel] Msvcrt & gcc-3.4.0
Hello.
I am unable to build current cvs msvcrt with gcc-3.4.0-20040501,
mingw-3.3 and w32api-2.5.
Is it my fault ?
Thanks, David
mingw32-gcc -D_MSVCRT_LIB_ -Werror -Wall -D_DISABLE_TIDENTS -I.
-I../../include -I../../w32api/include -pipe -march=i386 -D_M_IX86 -c
stdlib/wcstomb.c -o stdlib/wcstomb.o
In file included from
/home/dave/local/xmingw32/lib/gcc/mingw32/3.4.0/../../../../mingw32/include/
fcntl.h:20,
from ./libc/file.h:6,
from stdlib/wcstomb.c:25:
/home/dave/local/xmingw32/lib/gcc/mingw32/3.4.0/../../../../mingw32/include/
io.h:76:
error: parse error before "__time64_t"
/home/dave/local/xmingw32/lib/gcc/mingw32/3.4.0/../../../../mingw32/include/
io.h:78:
error: parse error before "time_write"
/home/dave/local/xmingw32/lib/gcc/mingw32/3.4.0/../../../../mingw32/include/
io.h:81:
error: parse error before '}' token
/home/dave/local/xmingw32/lib/gcc/mingw32/3.4.0/../../../../mingw32/include/
io.h:104:
error: parse error before "__time64_t"
/home/dave/local/xmingw32/lib/gcc/mingw32/3.4.0/../../../../mingw32/include/
io.h:106:
error: parse error before "time_write"
/home/dave/local/xmingw32/lib/gcc/mingw32/3.4.0/../../../../mingw32/include/
io.h:108:
error: conflicting types for 'name'
/home/dave/local/xmingw32/lib/gcc/mingw32/3.4.0/../../../../mingw32/include/
io.h:80:
error: previous declaration of 'name' was here
/home/dave/local/xmingw32/lib/gcc/mingw32/3.4.0/../../../../mingw32/include/
io.h:109:
error: parse error before '}' token
{standard input}: Assembler messages:
{standard input}:20: Warning: size of "_name" is already 272; not
changing to 528
make[1]: *** [stdlib/wcstomb.o] Error 1
make[1]: Leaving directory `/home/dave/ros/reactos/lib/crtdll'
make: *** [crtdll] Error 2
--
David Kredba <kredba at ibot.cas.cz>
GPG: ID 1024D/5B6B02DE
Fingerprint: F0B3312596BEDCF91DFB 0699E06AACD75B6B02DE
_______________________________________________
Ros-kernel mailing list
Ros-kernel at reactos.com
http://reactos.com/mailman/listinfo/ros-kernel
More information about the Ros-kernel
mailing list