Hi Alberto,

Doing an #ifndef for CYGWIN on this headers is going to break code
that calls these functions.

If Cygin doesn't have wchar yet could we doing something a crude as

#ifdef __CYGWIN__
typedef unsigned short wchar_t;
#endif

Robert.

On Wed, Nov 12, 2008 at 11:41 AM, Alberto Luaces <[EMAIL PROTECTED]> wrote:
>
> New changes attached.
>
> El Miércoles 12 Noviembre 2008ES 11:56:44 Alberto Luaces escribió:
>> Hi Michael,
>>
>> El Miércoles 12 Noviembre 2008ES 11:33:07 Michael Platings escribió:
>> > Astonishing that Cygwin is missing such a major part of the C++
>> > standard.
>>
>> It's a bit complicated. Cygwin uses newlib as its C library and currently
>> it (newlib) lacks of wide character implementation. It is said on Cygwin
>> mailing list that Unicode support will be implemented on the future 1.7
>> version, but there are no release plans for it and the development version
>> of 1.7 doesn't have it currently.
>>
>> > I suggest using #ifndef __CYGWIN__ rather than #ifdef
>> > OSG_USE_UTF8_FILENAME as the UTF conversion functions may be useful even
>> > if not using UTF-8 filenames.
>>
>> Ok for me. I'm going to try those changes and resubmit them if I'm
>> succesful.
>>
>> Regards,
>>
>> Alberto
>
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to