delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/12/17:02:26

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: bughz AT iname DOT com
MIME-Version: 1.0
Message-Id: <9911121701506Y.26724@webb3.iname.net>
Date: Fri, 12 Nov 1999 17:01:50 -0500 (EST)
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Building C++ library DLL

> Steve Jorgensen wrote:

> I'm not sure if this happens for C++, because this only happened
> for me, but I found that if things were exported more than once
> from the library, the extra compiler directives for DLL's caused
> the CD compiler (gcc 2.90?) to barf, so you might check to see
> you're class isn't getting exported more than once.

I think this is more complicated. I also get this error
Internal compiler error, output_operand_lossage `invalid expression
 as operand'
when importing classes.

Using the save-temps flag I have not found any duplicate exports/imports in my code using mingw32 gcc 2.95.1.
I seem to get it on 'small' classes.
But I must admit, I have not done much testing on it.

Perhaps it also is worth while to check message
http://sourceware.cygnus.com/ml/cygwin/1999-10/msg00539.html
in which a small test case is provided.

Regards,
Harm-Jan Zwinderman




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