🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #6487

Xsun fails compile on SunOS4.1.1

#6487
From: Bert Still
Date: Mon, 14 Jan 1991 07:50
16 lines
1279 bytes
I just tried to build Xsun on a SparcStation 2 running SunOS4.1.1.  With
the new keyboards, Sun has changed the value of the constant HOLE from
0xA2 to 0x302, while the element kiockey.type remains unsigned char.  An
assignment or comparison of these twho is therefore invalid.  Line 170 of
sunKbd.c has a comparison of the two which fails to pass the sun compiler.
I could promote the comparison to short, but this would still not allow
the assignment to have been made, and the comparison would always fail
anayway.

Has anyone fixed this problem yet?  I would much rather not have to hack
the sunKbd.c routine myself.

All suggestions and comments are welcome.

Thanks,
Bert@lll-crg.llnl.gov, Bert Still, Numerical Math Group, LLNL, (415)294-4171
Technical Details
Message-ID: <1230@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: bert@lll-crg.llnl.gov (Bert Still)
Newsgroups: comp.sys.sun
Subject: Xsun fails compile on SunOS4.1.1
Keywords: Windows
Message-ID: <1230@brchh104.bnr.ca>
Date: 14 Jan 91 07:50:58 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 16
Approved: Sun-Spots@rice.edu
X-Sun-Spots-Digest: Volume 10, Issue 17, message 4
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu