[ros-dev] compile failure on debian with mingw32msvc

Damian Dimmich djd20 at kent.ac.uk
Mon Nov 29 17:47:15 CET 2004


Hi,

Just like to let you know that the latest cvs code does not compile out of the 
box using mingw on a debian testing box.
$i586-mingw32msvc-cc --version
i586-mingw32msvc-cc (GCC) 3.4.2 (mingw-special)

The problem is some functions are re-declared in the string.h (line 169, 
wchar_t() ) and stdio.h (line 269, putwc() )files.  Also the loadlib.c test 
file failed to compile since it was not including stdlib.h and could not find 
the mbstowcs function.

This is the latest cvs code from 5:30'ish GMT.

Cheers,
Damian

output from cvs diff:

Index: apps/testsets/loadlib/loadlib.c
===================================================================
RCS file: /CVS/ReactOS/reactos/apps/testsets/loadlib/loadlib.c,v
retrieving revision 1.2
diff -r1.2 loadlib.c
26a27
> #include <stdlib.h>
Index: include/msvcrt/stdio.h
===================================================================
RCS file: /CVS/ReactOS/reactos/include/msvcrt/stdio.h,v
retrieving revision 1.8
diff -r1.8 stdio.h
269c269
< int putwc(wint_t wc, FILE* fileWrite);
---
> //int putwc(wint_t wc, FILE* fileWrite);
Index: include/msvcrt/string.h
===================================================================
RCS file: /CVS/ReactOS/reactos/include/msvcrt/string.h,v
retrieving revision 1.6
diff -r1.6 string.h
169c169
< wchar_t* wcsdup(const wchar_t* wsToDuplicate);
---
> //wchar_t* wcsdup(const wchar_t* wsToDuplicate);


More information about the Ros-dev mailing list