[Live-devel] sprintf and radix char.
Derk-Jan Hartman
hartman at videolan.org
Thu Oct 27 18:14:27 PDT 2005
On 27-okt-2005, at 2:42, Ross Finlayson wrote:
>> I thought this was working, but in recent weeks we got reports it
>> wasn't. We tried all sorts of things, but it wasn't coming together.
>> In the end we had to resolve to plain C code, and that WAS working.
>>
>
> I don't like the idea of throwing out (what appears to be)
> perfectly good code, without an understanding of what exactly is
> wrong with it. I thought that the C++-based solution that I wrote
> (using heap-allocated "Locale" objects, and relying on the fact
> that the object's destructor automatically gets called when we
> leave the scope) was quite elegant, so I'd like to know why it's
> not working.
>
> Are there problems in some C++ implementations with the "Locale"
> destructor not being called when it's supposed to, or is something
> else going on??
It looks more to me that the environment is only changed for the
current and new classes, not for the parent class.
But i have no idea of the exact cause, and neither does anyone else
in the team.
DJ
More information about the live-devel
mailing list