delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/06/15:50:06

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
X-Authentication-Warning: modi.xraylith.wisc.edu: khan owned process doing -bs
Date: Thu, 6 May 1999 14:49:09 -0500 (CDT)
From: Mumit Khan <khan AT xraylith DOT wisc DOT edu>
To: "Schaible, Joerg" <Joerg DOT Schaible AT gft DOT de>
cc: "'cygwin-list'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: DLL's and templates
In-Reply-To: <C2D7D58DBFE9D111B0480060086E96358D6F99@gftmail.gft.de>
Message-ID: <Pine.SUN.3.93.990506144623.6313F-100000@modi.xraylith.wisc.edu>
MIME-Version: 1.0

On Thu, 6 May 1999, Schaible, Joerg wrote:

> Hello,
> 
> currently I am trying to link my own first DLL (Mumits samples worked quite
> well), but I got unresolved externals for the vtable of all template classes
> used within my DLL. Typically following code:

There are quite a few hacks that MSVC uses to get C++ code to live well in
DLLs (ok, some of these are rules, but the rest are truly hacks!), and GNU
C++ compiler has yet to incorporate some of these. Examples include vtable
emission rules.

btw, unless you provide correct and complete code that shows the problem,
I typically just ignore it. Feel free to send me minimal code, preferably
tar-gz'd/zipped, that shows the problem.

Regards,
Mumit



--
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