Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <C2D7D58DBFE9D111B0480060086E96358D6FB0@gftmail.gft.de>
From: "Schaible, Joerg" <Joerg.Schaible@gft.de>
To: "'cygwin-list'" <cygwin@sourceware.cygnus.com>
Cc: "'Mumit Khan'" <khan@xraylith.wisc.EDU>
Subject: RE: DLL's and inlined methods 
Date: Mon, 10 May 1999 09:00:37 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id DAA03125

Hello Mumit,

thanks for the info.

>This is a bug in egcs-1.1.2 that shows up when dealing with inline 
>methods in DLLs. The linkage directive is slightly wrong, and you end 
>up with multiple definitions instead of the linker discarding duplicates 
>as expected.
>
>It's fixed in upcoming egcs-1.2 (please don't ask me when that'll be
>released).
>
>The workaround is to avoid inline methods is DLL exported/imported
>classes. Define these out-of-line in .cc file and you should be all
>set.

This is a show-stopper for me. I cannot adjust more than 1600 classes
(compilable with more than 20 compilers). So I'll have to wait.

Greetings
Jörg

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

