From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Problem with QTAda 3.0 and QTCore4.dll on Windows
Date: Thu, 7 Jan 2010 11:59:05 +0100
Date: 2010-01-07T11:59:02+01:00 [thread overview]
Message-ID: <199i04cdgiqlc$.1tlj9wnffh6g9$.dlg@40tude.net> (raw)
In-Reply-To: KWf1n.4151$%54.3403@newsfe22.ams2
On Thu, 07 Jan 2010 08:19:17 +0100, Per Sandberg wrote:
> The core reason is that the Binary Interface specific the name-mangling
> in C++ is different between gcc and MSVC, on top of that the
> documentation in the MSVC case is "sparse".
That should not be a problem in case of C. One should only make a choice
between stdcall and cdecl convention when you make a call from Ada. I guess
Qt has plain C interface? Then what happens inside of it is no matter.
> Then you will end up with two runtimes for C++, and to run MSVC and
> GCC(g++) in parallel requires a very consistent way of doing things
> since among all other things ther will be two different heaps...
Actually I used such combinations in other cases (not Qt), e.g. GNAT Ada
run-time + MSVC (sometimes with MFT!) + some bunch of third party libraries
of unknown language and origin.
The key issue is to set proper compiler/linker options for the MSVC
project. Which is FAR from being trivial. Another huge issue is deployment,
with MS manifests (due to broken implementations of) you simply cannot tell
if linked code will or will not work on another computer.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2010-01-07 10:59 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-05 21:04 Problem with QTAda 3.0 and QTCore4.dll on Windows Alexis
2010-01-06 12:17 ` Vadim Godunko
2010-01-06 14:15 ` Hibou57 (Yannick Duchêne)
2010-01-06 14:46 ` Dmitry A. Kazakov
2010-01-06 22:23 ` Alexis
2010-01-07 7:19 ` Per Sandberg
2010-01-07 10:59 ` Dmitry A. Kazakov [this message]
2010-01-07 21:39 ` Alexis
2010-01-07 22:11 ` Vadim Godunko
2010-01-07 22:32 ` Hibou57 (Yannick Duchêne)
2010-01-08 7:10 ` Vadim Godunko
2010-01-08 9:41 ` Dmitry A. Kazakov
2010-01-07 23:02 ` Dmitry A. Kazakov
2010-01-08 7:28 ` Vadim Godunko
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox