zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: <zsh-workers@sunsite.dk>
Subject: RE: Or on ReliantUNIX ... RE: Make Failure on SunOS-4.1 (correction)
Date: Thu, 26 Apr 2001 18:02:39 +0400	[thread overview]
Message-ID: <000f01c0ce59$8db674d0$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <20010426093012.A29857@dman.com>


> > Yes. The actual problem is of course difference between configure
> and source
> > code. configure must check for any symbol/declaration/etc using
> exactly the
> > same defines as will be used in code. Else it finds either too much or too
> > little :-)
>
> If you have HAVE_TGETENT, HAVE_CURSES_H, and HAVE_TERM_H, then you should
> have the same defines (curses.h, term.h) as were used in the configure
> test, no?
>

Yes, but you have to test for them after including config.h, not before?

After moving

#ifdef HAVE_TGETENT
# if defined(HAVE_CURSES_H) && defined(HAVE_TERM_H)
#  define USES_TERM_H 1
# else
#  ifdef HAVE_TERMCAP_H
#   define USES_TERMCAP_H 1
#  endif
# endif
#endif

after #inlcude "termcap.mdh" I get different error:

ONFIG_H -DMODULE -g -Kpic -o termcap..o /tools/src/zsh/Src/Modules/termcap.c
/usr/include/unctrl.h    17: [warning]:   CFE1301 typedef name has already
been declared (with same type)
  typedef unsigned long chtype;
                        ^

/usr/include/term.h  1196: [error]:   CFE1147 declaration is incompatible with
"int tputs(char *, int, int (*)(int))" (declared at line 42 of
"/tools/src/zsh/Src/prototypes.h")
                tputs(char *, int, int (*)(char)), putp(char *),
                ^
 /tools/src/zsh/Src/Modules/termcap.c   125: [warning]:   CFE1167 argument of
type "int (*)(int)" is incompatible with parameter of type "int (*)(char)"
        tputs(tgoto(t, atoi(*argv), num), num, putraw);
                                               ^
 -andrej



  reply	other threads:[~2001-04-26 14:03 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-24 19:43 Make Failure on SunOS-4.1 Vin Shelton
2001-04-25  4:13 ` Bart Schaefer
2001-04-25  9:55   ` Peter Stephenson
2001-04-25 14:41     ` Bart Schaefer
2001-04-25 14:57       ` Clint Adams
2001-04-25 14:29   ` Vin Shelton
2001-04-25 14:58     ` Bart Schaefer
2001-04-25 18:03       ` Vin Shelton
2001-04-26  4:27         ` Bart Schaefer
2001-04-26  4:35           ` Make Failure on SunOS-4.1 (correction) Bart Schaefer
2001-04-26 12:50             ` Vin Shelton
2001-04-26 13:06               ` Or on ReliantUNIX ... " Andrej Borsenkow
2001-04-26 13:15                 ` Clint Adams
2001-04-26 13:25                   ` Andrej Borsenkow
2001-04-26 13:30                     ` Clint Adams
2001-04-26 14:02                       ` Andrej Borsenkow [this message]
2001-04-26 14:20                         ` Clint Adams
2001-04-26 14:35                 ` Bart Schaefer
2001-04-26 14:52                   ` Andrej Borsenkow
2001-04-26 14:58                     ` Clint Adams
2001-04-26 15:32                       ` Bart Schaefer
2001-04-26 15:52                         ` Clint Adams

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='000f01c0ce59$8db674d0$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --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).