Article View: comp.windows.interviews
Article #387patches
From: Mike Stump
Date: Tue, 08 Sep 1992 21:23
Date: Tue, 08 Sep 1992 21:23
179 lines
7927 bytes
7927 bytes
Ok, so my g++ is a little different. :-)
I choose to not bother with using gcc over cc, so I didn't need the
first patch. (No particular reason.) I shall add them to my set,
though. Thanks.
I also stay away from makedepend! :-) (No particular reason, aside from the
build time of make depend.) I shall add it in, thanks.
The rest of the problem have been fixed. I shall see about releasing
a new compiler that solves the remaining problems. It is easier for
me to do that then it is to try and find the _right_ patches. :-( I
was going to do that after I had a chance to verify the a.outs and fix
any problems.
If there are people that want to track down bugs in g++, send me mail
and I can provide you with a more up-to-date compiler.
> Date: Tue, 8 Sep 92 17:34:16 +0200
> From: Thomas Hiller <hiller@fzi.de>
> Message-Id: <9209081534.AA29766@honi.fzi.de>
> To: mrs@cygnus.com
> I tried your patches and found that (at least for my machine) I need
> some more. I have the gcc-2.2.2 with your official patches
> (VAX/Ultrix 4.2).
> My gcc.def has the following additions:
> #ifndef CcCmd
> #define CcCmd gcc
> #endif
> #ifndef TIFFStdCDefines
> #define TIFFStdCDefines -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1
> #endif
> #ifndef DependCCFlags
> #define DependCCFlags $(CCDEFINES) $(CCINCLUDES) -I/usr/local/lib/g++-include
> #endif
> I needed a patch for catcmds.c:
> *** catcmds.c.save Tue Sep 8 16:15:10 1992
> --- catcmds.c Tue Sep 8 16:40:18 1992
> ***************
> *** 280,286 ****
> Resource::ref(chooser_);
> char buf[CHARBUFSIZE];
> const char* domain = unidraw->GetCatalog()->GetAttribute("domain");
> ! domain = (domain == nil) ? "component" : domain;
> sprintf(buf, "Select a %s to open:", domain);
> style->attribute("caption", "");
> style->attribute("subcaption", buf);
> --- 280,287 ----
> Resource::ref(chooser_);
> char buf[CHARBUFSIZE];
> const char* domain = unidraw->GetCatalog()->GetAttribute("domain");
> ! const char* component = "component";
> ! domain = (domain == nil) ? component : domain;
> sprintf(buf, "Select a %s to open:", domain);
> style->attribute("caption", "");
> style->attribute("subcaption", buf);
> ***************
> *** 367,373 ****
>
> char subtitle[CHARBUFSIZE];
> const char* domain = unidraw->GetCatalog()->GetAttribute("domain");
> ! domain = (domain == nil) ? "component" : domain;
> sprintf(subtitle, "Save this %s as:", domain);
>
> Style* s = new Style(Session::instance()->style());
> --- 368,375 ----
>
> char subtitle[CHARBUFSIZE];
> const char* domain = unidraw->GetCatalog()->GetAttribute("domain");
> ! const char* component = "component";
> ! domain = (domain == nil) ? component : domain;
> sprintf(subtitle, "Save this %s as:", domain);
>
> Style* s = new Style(Session::instance()->style());
> ***************
> *** 414,420 ****
>
> char buf[CHARBUFSIZE];
> const char* domain = unidraw->GetCatalog()->GetAttribute("domain");
> ! domain = (domain == nil) ? "component" : domain;
> sprintf(buf, "Save this %s as:", domain);
>
> boolean reset_caption = false;
> --- 416,423 ----
>
> char buf[CHARBUFSIZE];
> const char* domain = unidraw->GetCatalog()->GetAttribute("domain");
> ! const char* component = "component";
> ! domain = (domain == nil) ? component : domain;
> sprintf(buf, "Save this %s as:", domain);
>
> boolean reset_caption = false;
> More compilation problems (doc):
> ../CounterItem.c: In method `void CounterItem::notify ()':
> ../CounterItem.c:128: array subscript is not an integer
> ../CounterView.c: In method `CounterView::~CounterView ()':
> ../CounterView.c:51: cannot convert a pointer of type `CounterView'
> ../CounterView.c:51: to a pointer of type `ivResource'
> /usr/local/bin/gcc: Internal compiler error: program cc1plus got fatal signal 4
> ../DocViewer.c: In method `DocumentViewer::DocumentViewer (class Application*, c
> lass Document*)':
> ../DocViewer.c:244: array subscript is not an integer
> ../DocViewer.c:245: array subscript is not an integer
> ../DocViewer.c:245: request for member `delta' in something not a class, structu
> re or union
> ../DocViewer.c:245: request for member `pfn' in something not a class, structure
> or union
> ../DocViewer.c: In method `class ivGlyph* DocumentViewer::view (class ItemView*,
> class TextItem*)':
> ../DocViewer.c:337: array subscript is not an integer
> ../DocViewer.c:337: request for member `delta' in something not a class, structu
> re or union
> ../DocViewer.c:337: request for member `pfn' in something not a class, structure
> or union
> ../DocViewer.c: In method `class ivGlyph* DocumentViewer::view (class ItemView*,
> class PSFigItem*)':
> ../DocViewer.c:344: array subscript is not an integer
> ../DocViewer.c:344: request for member `delta' in something not a class, structu
> re or union
> ../DocViewer.c:344: request for member `pfn' in something not a class, structure
> or union
> ../DocViewer.c: In method `class ivGlyph* DocumentViewer::view (class ItemView*,
> class TabularItem*)':
> ../DocViewer.c:351: array subscript is not an integer
> ../DocViewer.c:351: request for member `delta' in something not a class, structu
> re or union
> ../DocViewer.c:351: request for member `pfn' in something not a class, structure
> or union
> ../DocViewer.c: In method `class ivGlyph* DocumentViewer::view (class ItemView*,
> class RefItem*)':
> ../DocViewer.c:357: array subscript is not an integer
> ../DocViewer.c:357: request for member `delta' in something not a class, structu
> re or union
> ../DocViewer.c:357: request for member `pfn' in something not a class, structure
> or union
> ../DocViewer.c: In method `class ivGlyph* DocumentViewer::view (class ItemView*,
> class FloatItem*)':
> ../DocViewer.c:371: array subscript is not an integer
> ../DocViewer.c:371: request for member `delta' in something not a class, structu
> re or union
> ../DocViewer.c:371: request for member `pfn' in something not a class, structure
> or union
> ../DocViewer.c: In method `class ivGlyph* DocumentViewer::view (class ItemView*,
> class CounterItem*)':
> ../DocViewer.c:377: array subscript is not an integer
> ../DocViewer.c:377: request for member `delta' in something not a class, structu
> re or union
> ../DocViewer.c:377: request for member `pfn' in something not a class, structure
> or union
> ../DocViewer.c: In method `class ivGlyph* DocumentViewer::view (class ItemView*,
> class LabelItem*)':
> ../DocViewer.c:383: array subscript is not an integer
> ../DocViewer.c:383: request for member `delta' in something not a class, structu
> re or union
> ../DocViewer.c:383: request for member `pfn' in something not a class, structure
> or union
> ../FloatItem.c: In method `void FloatItem::notify ()':
> ../FloatItem.c:169: array subscript is not an integer
> ../FloatView.c: In method `FloatView::~FloatView ()':
> ../FloatView.c:52: cannot convert a pointer of type `FloatView'
> ../FloatView.c:52: to a pointer of type `ivResource'
> /usr/local/bin/gcc: Internal compiler error: program cc1plus got fatal signal 4
> ... and more like these (my compilation is not yet finished).
> Do I need more patches to InterViews or GCC ?
Technical Details
Message-ID:
<9209082123.AA07180@cygnus.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!CYGNUS.COM!mrsShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!CYGNUS.COM!mrs From: mrs@CYGNUS.COM (Mike Stump) Subject: patches Message-ID: <9209082123.AA07180@cygnus.com> Sender: news@shelby.stanford.edu (USENET News System) Organization: Internet-USENET Gateway at Stanford University Date: Tue, 8 Sep 1992 21:23:31 GMT Lines: 179