This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
wchar.h problem
- To: "'cygwin at sourceware dot cygnus dot com'" <cygwin at sourceware dot cygnus dot com>
- Subject: wchar.h problem
- From: Jon Steinar Jonsson <steinar dot jonsson at nordpool dot com>
- Date: Mon, 7 Aug 2000 17:37:23 +0200
I get compilation errors in wchar.h when compiling a package that builds
cleanly on GNU/Linux (also compiles ok on Cygwin b20.1 I've been told)
The problem seems to be that size_t is not defined.
Shouldn't wchar.h make sure size_t is defined before using it, the way it
does with wchar_t?
Adding "#define __need_size_t" to wchar.h seems to solve the problem.
Steinar Jonsson
Steinar.Jonsson@nordpool.com
sjonsson@online.no
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com