🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.modula2
1 messages
1 total messages Started by chrisj Tue, 06 Oct 1987 00:54
Logitech 3.0 alignment problem
#3878
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads