Boost logo

Threads-Devel :

From: Yatin Salian (yatinsalian_at_[hidden])
Date: 2007-04-05 04:37:27


hi,
Thanks a lot guys.. I have built the library in standard calling convention
and now everything is working fine....

On 4/5/07, Jeff Idol <jeffidolh_at_[hidden]> wrote:
>
> It is possible to compile the thread library in standard call. Just look
> at the make files and change the calling convention to compile standard call
> and then rebuild the thread library. You might run into some errors in the
> library with standard call but I imagine you can fix them easy enough.
>
> ----- Original Message ----
> From: Anthony Williams <anthony_at_[hidden]>
> To: Discussions about the boost.thread library <
> threads-devel_at_[hidden]>
> Sent: Monday, April 2, 2007 6:47:11 AM
> Subject: Re: [Threads-devel] Calling convention problem for
> boost::xtime_get
>
> "Yatin Salian" <yatinsalian_at_[hidden]> writes:
>
> > I am getting linking error LNK2019: unresolved external symbol "int
> > __stdcall boost::xtime_get(struct boost::xtime *,int)"
> (?xtime_get_at_boost@@
> > YGHPAUxtime_at_1@H_at_Z) referenced in function "public: void __thiscall
> > CSMDispatcher::Run(void)" (?Run_at_CSMDispatcher@@QAEXXZ). This is mainly
> > because the application that I m developing uses the __stdcall calling
> > convention and hence it is not able to load the symbol. I am using
> other
> > boost libraries but none of them are giving me any problems except for
> this
> > call. Is there any solution for this other than changing my whole
> > application's calling convention to __cdecl which I want to avoid ?
>
> Have you tried building boost with the __stdcall calling convention?
>
> Anthony
> --
> Anthony Williams
> Just Software Solutions Ltd - http://www.justsoftwaresolutions.co.uk
> Registered in England, Company Number 5478976.
> Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL
> _______________________________________________
> threads-devel mailing list
> threads-devel_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/threads-devel
>
>
> ------------------------------
> Looking for earth-friendly autos?
> Browse Top Cars by "Green Rating"<http://autos.yahoo.com/green_center/;_ylc=X3oDMTE4MGw4Z2hlBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW5jZW50ZXI->at Yahoo! Autos' Green Center.
>
> _______________________________________________
> threads-devel mailing list
> threads-devel_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/threads-devel
>
>

-- 
The people who mind don't matter and the people who matter don't mind.


Threads-Devel list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk