On 8/17/05, Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx> wrote: > On Wed, Aug 17, 2005 at 11:08:41AM -0400, Vin Shelton wrote: > > "./utils.epro", line 14: syntax error before or at: c > > "./utils.epro", line 14: warning: undefined or missing type for: c > > The source was just recently changed to define ZLE_UNICODE_SUPPORT by > default on (what we hoped would be) systems that would support the new > Unicode support. You can get back to the non-Unicode codebase by using > the configure option --disable-multibyte. However, it would be nice if > you could help us to debug what part of the Unicode support is failing > on SunOS. > > That error message makes it look like the type "wint_t" isn't known to > the compiler, but if that is true, I don't see how getkeystring() would > successfully build without ZLE_UNICODE_SUPPORT being defined -- unless > the new configure test for multibyte support had messed up somehow? > Perhaps try compiling and running the attached C program (compile it in > the same dir as your zsh config.h using "cc -o multibyte multibyte.c"). > This prints 'No'. FYI - I've attached the (SunOS-5.8) config.h file. You'll note that HAVE_WCHAR_H and HAVE_WCRTOMB are defined. IIRC, Sun's wide character support is broken in these OS versions. Regards, Vin
Attachment:
config.h
Description: Binary data