🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #148

Re: interviews/libg help requested

#148
From: Coactive Aesthetics
Date: Sat, 01 Aug 1992 04:49
34 lines
1539 bytes
lsilwm!howardm@UUNET.UU.NET (Howard Moftich) writes:
: 
: Second problem:
: 
: In catcmds.c, the 3 lines (at line # 271,359 and 403) that are:
: 
:         domain = (domain == nil) ? "component" : domain;
: 
: Cause a: 
: 
: ./catcmds.c: In method 'void ViewCompCmde::Execute ();:
: ./catcmds.c:271: assignment between incompatiable pointer types
:  
: type of error.
: 

This is a bug in the ternary operator support in the gcc compiler. What I
did to get around this is to change the source so that it reads:

	if (domain == nil) domain = "component";

The long term solution is to fix the compiler. I was able to compile the 
libraries on the NeXT platform, but it turns out that you can't debug the
source with the NeXT supplied gdb program (and the later versions of gdb
are not currently supported for the NeXT).

Oh well, I guess I'll wait for 3.0 release of the NeXT OS.

Otto

--
Otto Lind                  Coactive Aesthetics
otto@coactive.com          P.O. Box 425967, San Francisco, CA 94142
netcom!coactive!otto       voice:(415)626-5152    fax:(415)626-6320
Technical Details
Message-ID: <4brmhpa.coactive@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!csus.edu!netcomsv!mork!coactive
References: <9207312001.AA04853@wms1.lsil.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!csus.edu!netcomsv!mork!coactive
From: coactive@netcom.com (Coactive Aesthetics)
Subject: Re: interviews/libg help requested
Message-ID: <4brmhpa.coactive@netcom.com>
Date: Sat, 01 Aug 92 04:49:55 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
References: <9207312001.AA04853@wms1.lsil.com>
X-Newsreader: Tin 1.1 PL4
Lines: 34