This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

wchar.h problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]