Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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) Content-Type: Text/Plain Content-Transfer-Encoding: 7bit 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