hrp@BORING.CRAY.COM (Hal Peterson) (10/03/89)
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;