Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uakari.primate.wisc.edu!sdd.hp.com!decwrl!ads.com!johnston From: johnston@ADS.COM (Scott E. Johnston) Newsgroups: comp.windows.interviews Subject: IV 2.6, g++ 1.37, and Ultrix 4.0.3 Message-ID: Date: 6 May 91 20:50:33 GMT Sender: usenet@ads.com (USENET News) Organization: Advanced Decision Systems Lines: 31 I am looking for patches to g++ 1.37 that will allow me to compile InterViews 2.6 on a DecStation running Ultrix 4.0.3. Currently I am having trouble compiling the following method in streditor.c: void StringEditor::Message (const char* t) { text->Delete(text->BeginningOfText(), text->Length()); text->Insert(0, t, strlen(t)); int bol = text->BeginningOfLine(0); int eol = text->EndOfLine(0); display->Draw(output, canvas); display->ReplaceText(0, text->Text(bol, eol), eol - bol); Select(eol); } gcc-cc1plus seg faults at the last brace in the method. The fault disappears if I remove the method, and follows the method if I move it around in the source file. Any suggestions? Scott E. Johnston Advanced Decision Systems Mt. View, CA 94043 P.S. When I run gdb on gcc-cc1plus, the fault occurs on the following line of sdbout.c: sdbout.c, line 693-694: /* Ok, start a symtab entry and output the variable name. */ PUT_SDB_DEF (IDENTIFIER_POINTER (DECL_NAME (decl))); The pointer to the name node of a declaration node is nil, so the IDENTIFIER_POINTER macro seg faults.