🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #295

Re: Problems with ClipBoard class in Unidraw on IRIX 4.0.1

#295
From: Alex Nicolaou
Date: Mon, 13 Apr 1992 00:09
24 lines
1563 bytes
anicolao@watcgl.waterloo.edu (Alex Nicolaou) writes:

>anicolao@watcgl.waterloo.edu (Alex Nicolaou) writes:

>>Has anyone else encountered problems like these? A fix would be much 
>>appreciated! Compiling with SGI's C++ compiler on the most recent revision
>>of the OS that we have to date.

>>making all for SGI in ./src/lib/Unidraw
>>making all for SGI in ./src/lib/Unidraw/SGI
>>        CC +p    -Dcplusplus_2_1 -Div2_6_compatible -DSYSV -Dsigned= -Dvolatile=
>  [ errors deleted ]

>This problem was solved by replacing -cckr with +a0 to disable ANSI 
>prototypes for our CC. It introduced a host of new and ugly warnings, but
>it also created working binaries. Sometimes the result counts, I suppose.

 *** This is the wrong fix for this problem. It produced buggy code due to
incorrect pointer casts (as far as I could tell). I will note that our
CC compiler doesn't accept -cckr. The correct fix was to set the environment
variable SGI_CC to -cckr instead; this caused the code to compile and run
correctly.

alex
Technical Details
Message-ID: <1992Apr13.000953.18993@watcgl.waterloo.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!utgpu!watserv1!watcgl!anicolao
References: <1992Apr7.165542.16419@watcgl.waterloo.edu> <1992Apr8.101016.25771@watcgl.waterloo.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!utgpu!watserv1!watcgl!anicolao
From: anicolao@watcgl.waterloo.edu (Alex Nicolaou)
Subject: Re: Problems with ClipBoard class in Unidraw on IRIX 4.0.1
Message-ID: <1992Apr13.000953.18993@watcgl.waterloo.edu>
Organization: Computer Graphics Laboratory, University of Waterloo, Ontario, Canada
References: <1992Apr7.165542.16419@watcgl.waterloo.edu> <1992Apr8.101016.25771@watcgl.waterloo.edu>
Date: Mon, 13 Apr 1992 00:09:53 GMT
Lines: 24