lmi
[Top][All Lists]
Advanced

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

Re: [lmi] Shared-library "attributes"


From: Greg Chicares
Subject: Re: [lmi] Shared-library "attributes"
Date: Wed, 18 Oct 2006 15:13:09 +0000
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

On 2006-10-16 19:56 UTC, Evgeniy Tarassov wrote:
>> Evgeniy--I'd like to port the change you made yesterday in
>> 'wx_new.hpp', or something like it, to both our main trunks.
>> Is it possible to make it more similar to 'so_attributes.hpp'?
> 
> Yes, sorry for not comparing wx_new.hpp to so_attributes.hpp.

It's not necessarily obvious.

> If i
> understand it correctly the same define should be used for both
> so_attributes.hpp and wx_new.hpp, right? (LMI_USE_SO_ATTRIBUTES)

Actually, it's otherwise.

The life-insurance calculations are factored into a library.
LMI_USE_SO_ATTRIBUTES governs how to build that library.

'wx_new.?pp' is an attempted workaround for what seemed to me
to be a conflict between wx and mpatrol. Vadim has suggested
that the real issue is neither of those libraries, but rather
MinGW's use of a non-shared libstdc++. Anyway, 'wx_new.?pp'
must always be built as a shared library in order for this
workaround to have its intended effect.

Probably it's harmless to build it any other way; it just
won't have that intended effect.

And the whole scheme doesn't work well at all since gcc-3.2.3,
so I guess it doesn't matter much to the work you're doing.
But maybe it'll become useful again when gcc-4.x becomes
stable for msw.

[...]
> So if you could accpet postponing the real problem and just modifing
> wx_new.hpp, that would be great. As you have said before the patch
> below will make both files look similar. I will ask Vadim's advice
> about how to make it work properly with autotools (without using
> auto-import feature) as soon as he is back.

Yes, let's postpone this. I'll add some comment to this file
when I merge it with HEAD. I don't think it's worth spending
more time on until we have a stable msw port of gcc-4.x .




reply via email to

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