![]() |
Yapb 2 compile error
I,m try to compile 2.05 under Redhat 2.1 and got error :
yapb.cpp: In function `void CBotManager::CallGameEntity (entvars_t *)': yapb.cpp:46: ISO C++ forbids casting between pointer-to-function and pointer-to-object |
Re: Yapb 2 compile error
As i say, i'm not a linux user and do dev under MSVC! :)
Change: Code:
pfnPlayer = reinterpret_cast <ENTITY_FN> (GetProcSymbol (g_hGameLib, "player")); Code:
pfnPlayer = (ENTITY_FN) GetProcSymbol (g_hGameLib, "player"); |
Re: Yapb 2 compile error
Whistler, is possible to make yapb 2.0 compatible with linux ?
|
Re: Yapb 2 compile error
i can compiler a linux binary but i'm not promise that it's will work correctly.
|
All times are GMT +2. The time now is 03:00. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.