Article View: gnu.g++.bug
Article #457compilation problem in 1.36.0-
From: Hal Peterson
Date: Tue, 03 Oct 1989 14:28
Date: Tue, 03 Oct 1989 14:28
57 lines
2247 bytes
2247 bytes
Yesterday I got g++.xtar.Z from labrea.stanford.edu and had some minor
problems building it with GCC 1.36 on a Sun-3/280 running SunOS 3.5:
specifically, cplus-except.c failed to compile because _JBLEN was
undefined. Here is a patch that gets it to compile.
To further identify the incarnation of 1.36.0-, here is the last
ChangeLog entry.
Mon Oct 2 02:28:43 1989 Michael Tiemann (tiemann at arkesden)
* cplus-lex.c (cons_up_dtor_for_type): Call to `start_method'
could yield VOID_TYPE_NODE in case of errors. Handle that.
* cplus-class.c (finish_struct): Caller of `cons_up_dtor_for_type'
changed.
* cplus-decl.c (pushtag): Don't call `pushdecl' on for tags which
are TREE_NONLOCAL.
* cplus-class.c (pushclass): Set TREE_NONLOCAL before calling
`pushtag'.
--
Hal Peterson Domain: hrp@cray.com
Cray Research Old style: hrp%cray.com@uc.msc.umn.edu
1440 Northland Dr. UUCP: uunet!cray!hrp
Mendota Hts, MN 55120 USA Telephone: +1 612 681 3145
========================================================================
*** cplus-except-DIST.c Mon Oct 2 04:53:52 1989
--- cplus-except.c Mon Oct 2 16:42:50 1989
***************
*** 33,42 ****
/* On Suns this can get you to the right definition if you
set the right value for TARGET. */
#include <setjmp.h>
! #ifdef sequent
/* Can you believe they forgot this? */
#define _JBLEN 11
#endif
tree exception_label_decl;
--- 33,47 ----
/* On Suns this can get you to the right definition if you
set the right value for TARGET. */
#include <setjmp.h>
! #ifndef _JBLEN
/* Can you believe they forgot this? */
+ #ifdef sequent
#define _JBLEN 11
#endif
+ #ifdef sun
+ #define _JBLEN 16
+ #endif
+ #endif /* _JBLEN */
tree exception_label_decl;
Technical Details
Message-ID:
<8910031428.AA19470@rothko.cray.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!ucbvax!tut.cis.ohio-state.edu!BORING.CRAY.COM!hrpShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!ucbvax!tut.cis.ohio-state.edu!BORING.CRAY.COM!hrp From: hrp@BORING.CRAY.COM (Hal Peterson) Newsgroups: gnu.g++.bug Subject: compilation problem in 1.36.0- Message-ID: <8910031428.AA19470@rothko.cray.com> Date: 3 Oct 89 14:28:42 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 57