🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #3878

Logitech 3.0 alignment problem

#3878
From: chrisj
Date: Tue, 06 Oct 1987 00:54
22 lines
1665 bytes
WARNING: Logitech's version 3.0 compiler aligns fields slightly differently
than previous versions did.  A client of mine recompiled a module for a bug
fix, linked the output with a bunch of 2.0-compiled stuff, and found that
some of his fields were mispositioned by one byte if he compiled the module
with the Align flag turned ON, and others were off by one if he compiled with
it OFF.  Recompiling the whole suite of modules with 3.0 doesn't solve the
problem, since 100 or so customers in the field have data files with the old
field alignment in them.  Yucc!

(Personally, I usually declare the slack bytes in my records explicitly, but
we've all got 20-20 hindsight.)

Sorry that I cannot tell you the details of the record declaration in which
field offsets changed.  The client will notify Logitech of his problem, and
I will post further details when I understand the exact nature of the
compiler changes.

Christopher T. Jewell    | UUCP:       chrisj@cup.portal.com
3900 Moorpark Ave, #42   | or  :       ucbvax!sun!portal!chrisj
San Jose, CA, USA, 95117 | CompuServe: 72415,1757
                         | Musus     : Chris Jewell
Technical Details
Message-ID: <867@cup.portal.com>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!imagen!atari!portal!cup.portal.com!chrisj

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!imagen!atari!portal!cup.portal.com!chrisj
From: chrisj@cup.portal.com
Newsgroups: comp.lang.modula2
Subject: Logitech 3.0 alignment problem
Message-ID: <867@cup.portal.com>
Date: Mon, 5-Oct-87 20:54:46 EDT
Article-I.D.: cup.867
Posted: Mon Oct  5 20:54:46 1987
Date-Received: Sat, 10-Oct-87 13:01:51 EDT
Organization: The Portal System (TM)
Lines: 21
XPortal-User-Id: 1.1001.2041