conflicting types for `typedef struct mbstate_t`(was link troubles with wcslen)

2002-10-29 Thread Xavier Pianet
Hi there It seems there is a pb in some include files in cygwin1.3.13/1.3.14+gcc3.2 1) first of all /usr/include/wchar.h lacks of _BEGIN_STD_C ... _END_STD_C in function declarations. (same goes for wctypes.h) adding them solved the link problem i had with 'wcslen' in previous post (thanks to Sha

Re: link troubles with wcslen

2002-10-28 Thread Shankar Unni
On 10/27/2002 5:07 PM, Xavier Pianet wrote: I can only manage to get errors : /c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccDaW1wr.o(.text+0x38):Blah.cc: undefined reference to `wcslen(wchar_t const*)' This looks like the "wcslen" declaration isn't being protected by an 'extern "C"' block. I notice tha

link troubles with wcslen

2002-10-27 Thread Xavier Pianet
Hi there I noticed one person having same kind of troubles 2 weeks ago but i =3D could'nt find a reply. i'm using the following system : > uname -a CYGWIN_NT-5.0 NAME 1.3.14(0.62/3/2) 2002-10-24 10:48 i686 unknown >g++ --version g++ (GCC) 3.2 20020818 (prerelease) Copyright (C) 2002 Free Software