Article View: gnu.g++.bug
Article #1368Information.
From: Eigil Krogh Sorensen
Date: Fri, 08 Jan 1993 15:24
Date: Fri, 08 Jan 1993 15:24
54 lines
1840 bytes
1840 bytes
Enclosed is an e-mail from jclark.com!jjc.
The changes he suggests helped so gcc-2.3.3 could compile errarg.cc
from groff-1.06 without errors.
I just thought this could be of interest to others.
(Now there is problems with groff-1.06 - lex.cc as reported in another
e-mail)
Best,
Eigil Krogh Sorensen.
>From jclark.com!jjc Wed Jan 6 13:42:00 1993
Return-Path: <jclark.com!jjc>
Received: by vki68.aar-vki.dk (Smail3.1.28.1 #16)
id m0n9b17-0000t4C; Wed, 6 Jan 93 13:41 GMT
Received: from jclark.com by dkuug.dk with SMTP id AA05056
(5.65c8/IDA-1.4.4j for <eks@vki68.aar-vki.dk>); Wed, 6 Jan 1993 13:25:06 +0100
Received: by jclark.com (4.1/SMI-4.1)
id AA11218; Wed, 6 Jan 93 12:23:45 GMT
Date: Wed, 6 Jan 93 12:23:45 GMT
From: jjc@jclark.com (James Clark)
Message-Id: <9301061223.AA11218@jclark.com>
To: eks@vki68.aar-vki.dk
In-Reply-To: <m0n9a5i-0000svC@vki68.aar-vki.dk> (eks@vki68.aar-vki.dk)
Subject: error while making groff-1.06 with gcc-2.3.3
X-Charset: US-DK
X-Char-Esc: 29
Status: RO
gcc on your system appears not to be able to handle anonymous unions
correctly. You could try changing errarg.h so it doesn't use a union:
change
union {
const char *s;
int n;
char c;
double d;
};
to
const char *s;
int n;
char c;
double d;
in errarg.h. This would be inefficient, but it might work.
Technical Details
Message-ID:
<9301090233.AA23184@raisin-nut>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!vki68.aar-vki.DK!eksShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!vki68.aar-vki.DK!eks From: eks@vki68.aar-vki.DK (Eigil Krogh Sorensen) Subject: Information. Message-ID: <9301090233.AA23184@raisin-nut> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Fri, 8 Jan 1993 15:24:58 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 56