zsh-workers
 help / color / mirror / code / Atom feed
From: Wayne Davison <wayned@users.sourceforge.net>
To: acs@alumni.princeton.edu
Cc: zsh-workers@sunsite.dk
Subject: Re: SunOS build failures for the last 2 days
Date: Wed, 17 Aug 2005 10:15:29 -0700	[thread overview]
Message-ID: <20050817171529.GB21995@blorf.net> (raw)
In-Reply-To: <20a80721050817080831aad306@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]

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").

..wayne..

[-- Attachment #2: multibyte.c --]
[-- Type: text/x-csrc, Size: 311 bytes --]

#include <stdio.h>
#include "config.h"

#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif

int
main()
{
#if defined(HAVE_WCHAR_H) && defined(HAVE_WCTOMB) \
 && defined(HAVE_MBRTOWC) && defined(HAVE_WCRTOMB) \
 && defined (__STDC_ISO_10646__)
    printf("Yes\n");
#else
    printf("No\n");
#endif
    return 0;
}

  parent reply	other threads:[~2005-08-17 17:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-17 15:08 Vin Shelton
2005-08-17 16:51 ` Andrey Borzenkov
2005-08-17 17:15 ` Wayne Davison [this message]
2005-08-17 17:35   ` Andrey Borzenkov
2005-08-17 17:50     ` Wayne Davison
2005-08-17 18:15       ` Wayne Davison
2005-08-17 18:52   ` Vin Shelton
2005-08-17 19:16     ` Wayne Davison

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050817171529.GB21995@blorf.net \
    --to=wayned@users.sourceforge.net \
    --cc=acs@alumni.princeton.edu \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).