zsh-workers
 help / color / mirror / code / Atom feed
From: Wayne Davison <wayned@users.sourceforge.net>
To: Bart Schaefer <schaefer@candle.brasslantern.com>
Cc: <zsh-workers@sunsite.dk>
Subject: Re: PATCH: Re: Build Failures on SunOS-4.1 and 5.5
Date: Thu, 12 Apr 2001 18:13:00 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.30.0104121754580.5377-100000@phong.blorf.net> (raw)
In-Reply-To: <1010412230835.ZM692@candle.brasslantern.com>

On Thu, 12 Apr 2001, Bart Schaefer wrote:
> So how about the following (also not yet committed); I'm not sure how
> it flies with respect to your needing to put curses.h above termios.h,

Solaris 2.6 fails to compile terminfo.c because of the weirdness with
curses.h and termios.h/termio.h.  Basically curses.h has a long
comment that goes on about how including curses.h is wrong in a
"strictly conformant ANSI-C compilation", so it makes me think that
they didn't imagine someone would want to include termios.h along with
curses.h.

The underlying problem here is that curses.h omits including termio.h
if VINTR is defined, and while termios.h defines VINTR, it doesn't
define the termio struct, and term.h puts a termio struct into its
term struct.

I can get terminfo.c to compile by either including termio.h before I
include term.h, or by undefining VINTR before including curses.h.  Any
ideas on what is a good, portable solution?  Can we stomache adding
this before the curses.h include:

# ifdef VINTR
#  undef VINTR
# endif

On a slightly related note, anyone know what the "offsetof" define is
doing in system.h?  It doesn't appear to be used anywhere, and the new
include of term.h causes it to be redefined (on Solaris).

..wayne..


  reply	other threads:[~2001-04-13  1:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-12 14:33 Vin Shelton
2001-04-12 14:54 ` PATCH: " Clint Adams
2001-04-12 15:39   ` Bart Schaefer
2001-04-12 15:57     ` Bart Schaefer
2001-04-12 16:20       ` Bart Schaefer
2001-04-12 22:29         ` Wayne Davison
2001-04-12 23:08           ` Bart Schaefer
2001-04-13  1:13             ` Wayne Davison [this message]
2001-04-13  3:51               ` Bart Schaefer
2001-04-13  8:00                 ` Wayne Davison
2001-04-13 16:42                   ` Bart Schaefer
2001-04-13 16:49                     ` Wayne Davison
2001-04-12 15:28 ` Bart Schaefer

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=Pine.LNX.4.30.0104121754580.5377-100000@phong.blorf.net \
    --to=wayned@users.sourceforge.net \
    --cc=schaefer@candle.brasslantern.com \
    --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).