delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/15/13:48:54

Date: Tue, 9 Jul 1996 19:22:45 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Alexander Lehmann <lehmann AT mathematik DOT th-darmstadt DOT de>
Cc: djgpp AT delorie DOT com
Subject: Re: C/C++ Packing (was: Re: [_dos_]find{first|next} problem!)
In-Reply-To: <4rtj11$13n1@rs18.hrz.th-darmstadt.de>
Message-Id: <Pine.SUN.3.91.960709192111.1993H-100000@is>
Mime-Version: 1.0

On 9 Jul 1996, Alexander Lehmann wrote:

> This is a known bug in gcc 2.7.2, in C++, structures cannot be packed
> like in C. To fix this, either wait for the next gcc, write wrapper
> findxxx functions in a C module and call them from C++, or you can add
> a #pragma statment that I current don't remember. You could check the
> archive of comp.os.msdos.djgpp at http://www.delorie.com

The available solutions are also explained in the new release 2.01 of the 
DJGPP FAQ list, section 22.10.

- Raw text -


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