can't compile wx 2.8.1 for WM5 using vs2005
meirkr
meirkr at gmail.com
Sun Mar 18 11:37:13 PDT 2007
On Feb 1, 2:06 am, v... at wxwindows.org (Vadim Zeitlin) wrote:
> On 31 Jan 2007 13:54:18 -0800 meirkr <mei... at gmail.com> wrote:
>
> m> so,
> m> Maybe we can implement the:
> m> static struct tm *GetTmNow() like that:
> m>
> m> static struct tm *GetTmNow()
> m> {
> m> static struct tm l_CurrentTime;
> m>
> m> wxCRITICAL_SECTION(CurrentTimeCS);
> m>
> m> return GetTmNow(&l_CurrentTime);
> m> }
>
> There is even no need for a critical section here: this function is not
> [guaranteed to be] MT-safe so it's up to the caller to ensure that it's not
> called concurrently by multiple threads.
>
> However the problem is not there but rather to understand why does my VC8
> installation have localtime() function while several other people have
> problems with it. And I still have no idea about this.
>
> Regards,
> VZ
>
> --
> TT-Solutions: wxWidgets consultancy and technical support
> http://www.tt-solutions.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:wx-users-unsubscr... at lists.wxwidgets.org
> For additional commands, e-mail:wx-users-h... at lists.wxwidgets.org
Hi.
Do you have news about this?
More information about the wx-users
mailing list