www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/23/07:21:06

From: "Rafael García" <rafael AT geninfor DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: struct fields padding
Date: Tue, 23 Feb 1999 13:09:06 +0100
Organization: CTV/JET
Lines: 15
Message-ID: <7au5m1$13d$1@lola.ctv.es>
NNTP-Posting-Host: infon722.jet.es
X-Trace: lola.ctv.es 919771649 1133 195.55.158.210 (23 Feb 1999 12:07:29 GMT)
X-Complaints-To: usenet AT lola DOT ctv DOT es
NNTP-Posting-Date: 23 Feb 1999 12:07:29 GMT
X-Newsreader: Microsoft Outlook Express 4.72.2106.4
X-Mimeole: Produced By Microsoft MimeOLE V4.72.2106.4
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have programs that use binary files to index data files.

I can work with the data files from DJGPP and from BC well, but the format
of structures seems to be different in both compilers because I cannot
recognize it from the other. If I regenerate the index files when change to
other compiler, it works, but I would like to mix both programas over the
same files in a network where there are machines with old versions of the
program.

I have tried #pragma pack(1) to make format compatible, but it don't work.

Any idea?
Thanks


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019