Thread View: gnu.g++.bug
1 messages
1 total messages
Started by Hal Peterson
Tue, 03 Oct 1989 14:28
compilation problem in 1.36.0-
Author: 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;
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads