delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/23/06:55:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3CECCA15.7080509@mip.sdu.dk>
Date: Thu, 23 May 2002 12:53:09 +0200
From: =?ISO-8859-1?Q?Ren=E9_M=F8ller_Fonseca?= <fonseca AT mip DOT sdu DOT dk>
Reply-To: cygwin AT cygwin DOT com
Organization: The Maersk Institute, University of Southern Denmark
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020510
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: linking cygwin built dll with Borland C++Builder
References: <FC169E059D1A0442A04C40F86D9BA7600C6148 AT itdomain003 DOT itdomain DOT net DOT au> <3CECC852 DOT 9060605 AT uni DOT de>
X-Virus-Scanned: by AMaViS perl-11

Tell the compilers to pack the struct's (if different alignment is the 
problem).

For GCC use: __attribute__((packed))
For Borland compiler use (I think): #pragma pack

René

Dennis Jarosch wrote:
> Hi Rob!
> 
> Robert Collins wrote:
> 
>> Mixing C++ between compilers generally doesn't work. See the c++-faq
>> lite for more details.
>>
>> Rob
> 
> 
> Maybe I just misunderstood you, but the lib/dll consists of pure C-code, 
> no C++ involved. Of course my Wrapper uses C++ code, but I am not 
> linking any C++ code from gcc!
> 
> Dennis
> 
> 
> 
> -- 
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 



-- 
B.Sc. in Computer Systems Engineering
The Maersk Mc-Kinney Moller Institute for Production Technology
University of Southern Denmark
http://www.mip.sdu.dk/~fonseca


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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