| delorie.com/archives/browse.cgi | search | 
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm | 
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> | 
| List-Archive: | <http://sourceware.org/ml/cygwin/> | 
| List-Post: | <mailto:cygwin AT cygwin DOT com> | 
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: | <41B0132F.1000304@x-ray.at> | 
| Date: | Fri, 03 Dec 2004 08:18:07 +0100 | 
| From: | Reini Urban <rurban AT x-ray DOT at> | 
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a4) Gecko/20040927 | 
| MIME-Version: | 1.0 | 
| To: | cygwin AT cygwin DOT com | 
| Subject: | Re: MSVC-dll under cygwin | 
| References: | <000a01c4d883$eb5024f0$0200a8c0 AT mindcooler> <20041202153745 DOT GA29883 AT trixie DOT casa DOT cgf DOT cx> <001901c4d887$c873bfb0$0200a8c0 AT mindcooler> <002701c4d88f$3e12d100$0200a8c0 AT mindcooler> <coo05h$2a9$1 AT sea DOT gmane DOT org> | 
| In-Reply-To: | <coo05h$2a9$1@sea.gmane.org> | 
| X-IsSubscribed: | yes | 
Shankar Unni schrieb:
> Mikael Åsberg wrote:
> You cannot mix Visual C++ ("real" C++, I mean, not C) and Gnu C++ 
> modules in any way whatsoever. The two have completely different class 
> and virtual-table layout algorithms.
You can actually. g++ emulates the msvc vtable layout.
But you should not because of different underlying runtime libraries. 
new/delete mainly, but a lot of other dependencies clash also.
> If you need to link a Gcc-compiled object to a VC++-compiled object, you 
> can only use 'extern "C"' APIs (and C structures) to cross between the two.
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
| webmaster | delorie software privacy | 
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |