This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: CYGWIN NT-5.1 1.7.0(0.185/5/ 3) wstring undeclared
On Tue, 22 Jul 2008 14:56:57 -0700, Brian Dessent <brian@dessent.net>
wrote:
> bernd@prager.ws wrote:
>
>> Is that a path issue or is wstring still unsupported?
>
> Getting a functional wstring would require, at least:
>
> * implementing missing wide character I/O functions in newlib (like
> wprintf)
> * rebuilding libstdc++ so that it detects these functions and enables
> wstring (which means rebuilding gcc)
>
> So no, just upgrading the cygwin DLL won't change anything.
>
> Brian
>
Any specific version that I have to consider?
I tried to recompile gcc-3.4.6.
Make fails with:
make[1]: Entering directory `/home/b/tmp/gcc-3.4.6/gcc'
gcc -c -march=pentium-m -mfpmath=sse -DIN_GCC -W -Wall -Wwrite-strings
-Wstr
ict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-DHAVE_CONFIG_H
-march=pentium-m -mfpmath=sse -I. -I. -I. -I./. -I./../include -I../intl
\
c-opts.c -o c-opts.o
c-opts.c: In function `c_common_init_options':
c-opts.c:191: error: `CL_C' undeclared (first use in this function)
c-opts.c:191: error: (Each undeclared identifier is reported only once
c-opts.c:191: error: for each function it appears in.)
c-opts.c:191: error: initializer element is not constant
c-opts.c:191: error: (near initialization for `lang_flags[0]')
c-opts.c:191: error: `CL_ObjC' undeclared (first use in this function)
c-opts.c:191: error: initializer element is not constant
c-opts.c:191: error: (near initialization for `lang_flags[1]')
c-opts.c:191: error: `CL_CXX' undeclared (first use in this function)
c-opts.c:191: error: initializer element is not constant
c-opts.c:191: error: (near initialization for `lang_flags[2]')
c-opts.c:191: error: `CL_ObjCXX' undeclared (first use in this function)
c-opts.c:191: error: initializer element is not constant
c-opts.c:191: error: (near initialization for `lang_flags[3]')
make[1]: *** [c-opts.o] Error 1
make[1]: Leaving directory `/home/b/tmp/gcc-3.4.6/gcc'
make: *** [all-gcc] Error 2
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/