delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/07/16/01:51:39

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Tor Lillqvist <tml AT iki DOT fi>
MIME-Version: 1.0
Message-ID: <14222.51556.490000.77766@tippen>
Date: Fri, 16 Jul 1999 08:55:48 +0300 (FLE Daylight Time)
To: Mumit Khan <khan AT xraylith DOT wisc DOT EDU>
Cc: cygwin AT sourceware DOT cygnus DOT com, gimpwin-dev AT gimp DOT org
Subject: [ANN] gcc-2.95 dev snapshot updated to 1999-07-15
In-Reply-To: <199907160222.VAA12013@mercury.xraylith.wisc.edu>
References: <199907160222 DOT VAA12013 AT mercury DOT xraylith DOT wisc DOT edu>
X-Mailer: VM 6.62 under Emacs 19.34.6

Mumit Khan writes:
 >   - bitfield packing. I've applied Donn Terry's patch, but it's not
 >     the default. If you want to layout bitfields exactly as MSVC
 >     does, compile with -fnative-struct flag.

Great! I got bitten by the binary incompatibility in some structs with
bitfields some week ago in my work on porting GTk+ (and the GIMP) to
Windows. I then decided to build differently named DLLs with gcc and
MSVC. This caused some code ugliness when gtk or GIMP wants to load
modules (DLLs) dynamically, it has to check if the module name
contains the correct compiler name, etc. But, with this feature, I
don't have to include the compiler name in the DLL names any longer,
and can use gcc-compiled DLLs from MSVC-compiled code, and vice
versa. I hope.

--tml


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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