monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] 3rd party libraries


From: Stephen Leake
Subject: Re: [Monotone-devel] 3rd party libraries
Date: Sat, 25 Oct 2008 07:52:58 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt)

Markus Wanner <address@hidden> writes:

> Stephen Leake wrote:
>
>> You seem to be implying that a dynamically linked object file cannot
>> be compiled with a C++ compiler. Is that correct?
>
> An object file *is* compiled, it can only be linked against other
> compiled objects.

Obviously we don't want to re-compile the system library.

But is there some reason it wasn't compiled with C++ in the first place?

> The difference here is between compiling the lua source code with a C or
> a C++ compiler. Only the later can throw exceptions, the former only
> knowns longjmp/setjmp functions to provide similar behaviour.

That part I understand.

There seems to be an assumption that system libraries are _not_
compiled with C++. 

I suspect that's because there is no system library naming convention
that distinguishes between otherwise identical libraries, one compiled
with C++, one with C.

But I could be wrong.

-- 
-- Stephe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]