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

Xref: news2.mv.net comp.os.msdos.djgpp:5830
From: wgalazka AT zoolook DOT chem DOT uw DOT edu DOT pl (Wojciech Galazka)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C/C++ Packing (was: Re: [_dos_]find{first|next} problem!)
Date: Wed, 10 Jul 1996 14:14:00 GMT
Organization: University of Warsaw, Department of Chemistry
Lines: 14
Message-Id: <wgalazka.13.837008040@zoolook.chem.uw.edu.pl>
References: <836767569 DOT 26385 DOT 0 AT abwillms DOT demon DOT co DOT uk> <31e1ed3d DOT 40380323 AT news DOT mcs DOT net> <4rtj11$13n1 AT rs18 DOT hrz DOT th-darmstadt DOT de>
Nntp-Posting-Host: andrew.chem.uw.edu.pl
To: djgpp AT delorie DOT com
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

In article <4rtj11$13n1 AT rs18 DOT hrz DOT th-darmstadt DOT de> lehmann AT mathematik DOT th-darmstadt DOT de (Alexander Lehmann) writes:
>From: lehmann AT mathematik DOT th-darmstadt DOT de (Alexander Lehmann)
>Subject: Re: C/C++ Packing (was: Re: [_dos_]find{first|next} problem!)
>Date: 9 Jul 1996 12:24:01 GMT
>Peter Johnson (locke AT mcs DOT net) 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
>
So now I know what ff.c in R. Hoehne's port of TV was for :-)
There were some wrapping routines in ff.c ...

- Raw text -


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