🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #411

Sequent patch

#411
From: "Douglas C. Schmidt"
Date: Tue, 12 Sep 1989 05:35
22 lines
1054 bytes
The following patch is needed to get g++ 1.36.0- to work on the
Sequent Symmetry.  Their libraries `just say no' to ANSI-C features...

*** cplus-lex.c.~1~	Fri Sep  8 11:36:43 1989
--- cplus-lex.c	Mon Sep 11 22:30:33 1989
***************
*** 754,760 ****
--- 754,764 ----
      /* Our only interest is _ref and _expr.  */
      if (tree_code_type[i][0] == 'r' || tree_code_type[i][0] == 'e')
        {
+ #if defined (sequent)
+ 	char *end = (char *)rindex (tree_code_name[i], '_');        
+ #else
  	char *end = (char *)strrchr (tree_code_name[i], '_');
+ #endif
  	if (end)
  	  opname_end[i] = end - tree_code_name[i];
        }

Doug
Technical Details
Message-ID: <8909112235.aa15707@PARIS.ICS.UCI.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!GLACIER.ICS.UCI.EDU!schmidt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!GLACIER.ICS.UCI.EDU!schmidt
From: schmidt@GLACIER.ICS.UCI.EDU ("Douglas C. Schmidt")
Newsgroups: gnu.g++.bug
Subject: Sequent patch
Message-ID: <8909112235.aa15707@PARIS.ICS.UCI.EDU>
Date: 12 Sep 89 05:35:36 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 22