public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Zack Weinberg <zack@rabi.columbia.edu>
To: alex.buell@tahallah.demon.co.uk
Cc: egcs@egcs.cygnus.com
Subject: Re: dejagnu-19981026
Date: Wed, 31 Mar 1999 23:46:00 -0000	[thread overview]
Message-ID: <199903211557.KAA04687@blastula.phys.columbia.edu> (raw)
Message-ID: <19990331234600.yKEUg6yEX7PHoYnakyWTlzqw79LIxcJv79JHQ4Xxuio@z> (raw)
In-Reply-To: <Pine.LNX.4.10.9903211254290.11010-100000@tahallah.demon.co.uk>

On Sun, 21 Mar 1999 13:04:15 +0000 (GMT), Alex Buell wrote:
>dejagnu-19981026 (from egcs.cygnus.com) will not compile with egcs-1.1.2. 
[...]
>./../generic/tclPosixStr.c: In function `Tcl_ErrnoId':
>./../generic/tclPosixStr.c:340: duplicate case value
>./../generic/tclPosixStr.c:328: this is the first entry for that value
>./../generic/tclPosixStr.c: In function `Tcl_ErrnoMsg':
>./../generic/tclPosixStr.c:787: duplicate case value
>./../generic/tclPosixStr.c:775: this is the first entry for that value

Patch follows.  Note this is a library issue, has nothing to do with 1.1.2.

If you already have tcl 8 and expect 5 on your system (you probably
do) then you can just make the dejagnu directory after configuring
everything.

zw

--- tcl/generic/tclPosixStr.c~	Fri May  1 14:45:09 1998
+++ tcl/generic/tclPosixStr.c	Sun Mar 21 10:54:34 1999
@@ -336,7 +336,7 @@
 #ifdef ENXIO
 	case ENXIO: return "ENXIO";
 #endif
-#ifdef EOPNOTSUPP
+#if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (EOPNOTSUP != ENOTSUP))
 	case EOPNOTSUPP: return "EOPNOTSUPP";
 #endif
 #ifdef EPERM
@@ -783,7 +783,7 @@
 #ifdef ENXIO
 	case ENXIO: return "no such device or address";
 #endif
-#ifdef EOPNOTSUPP
+#if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (EOPNOTSUP != ENOTSUP))
 	case EOPNOTSUPP: return "operation not supported on socket";
 #endif
 #ifdef EPERM

  reply	other threads:[~1999-03-31 23:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-21  5:06 dejagnu-19981026 Alex Buell
     [not found] ` < Pine.LNX.4.10.9903211254290.11010-100000@tahallah.demon.co.uk >
1999-03-21  7:57   ` Zack Weinberg [this message]
     [not found]     ` < 199903211557.KAA04687@blastula.phys.columbia.edu >
1999-03-21 11:22       ` dejagnu-19981026 Alex Buell
1999-03-31 23:46         ` dejagnu-19981026 Alex Buell
1999-03-31 23:46     ` dejagnu-19981026 Zack Weinberg
1999-03-21 10:43   ` dejagnu-19981026 Jeffrey A Law
     [not found]     ` < 3237.922041180@upchuck >
1999-03-21 11:27       ` dejagnu-19981026 Alex Buell
1999-03-31 23:46         ` dejagnu-19981026 Alex Buell
1999-03-31 23:46     ` dejagnu-19981026 Jeffrey A Law
1999-03-31 23:46 ` dejagnu-19981026 Alex Buell

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=199903211557.KAA04687@blastula.phys.columbia.edu \
    --to=zack@rabi.columbia.edu \
    --cc=alex.buell@tahallah.demon.co.uk \
    --cc=egcs@egcs.cygnus.com \
    /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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).