|
---|
|
CMaNGOS-4.3.4 Commits Изменения, принятые в официальный репозиторий ядра CMaNGOS. git://github.com/cmangos/mangos-cata.git |
|
Опции темы | Поиск в этой теме | Опции просмотра |
04.11.2015, 08:43 | #1 |
News Bot
Регистрация: 20.11.2009
Сообщений: 1,290
Сказал(а) спасибо: 0
Поблагодарили 5 раз(а) в 5 сообщениях
|
Fix the type of a local variable.
Автор: evil-at-wow
<pre style='white-space:pre-wrap;width:81ex'>Fix the type of a local variable. This fixes compile errors on some systems, such as GCC on Mac OS X. The intention has always been to use `void ACE_Time_Value::msec(ACE_UINT64 &)`. This has always worked fine because there was no real difference between the two types uint64 and ACE_UINT64, because the former was a typedef of the latter. See older revisions of src/framework/Platform/Define.h. But now uint64 is a C++11 fixed width integer type, which will typically be `unsigned long long`, while ACE_UINT64 is still `unsigned long` on systems using the LP64 data model (Linux, Mac OS X, BSD) - see the CMaNGOS modification in dep.ACE_wrappers/configure. The difference between the types then causes an ambigious call compile error, because there are other msec functions taking arguments of type long and int. (based on cmangos/mangos-wotlk@931a7ba) Signed-off-by: Xfurry <xfurry@scriptdev2.com></pre> Подробнее... |
|
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Remove unused variable | newsbot | CMaNGOS Commits | 0 | 24.09.2015 11:47 |
Fix the type of a local variable. | newsbot | CMaNGOS Commits | 0 | 23.09.2015 08:11 |
[11814] Use the same variable to store the message for AFK and DND | newsbot | CMaNGOS Commits | 0 | 12.10.2011 12:00 |
[11132] Typo in local var name. | newsbot | CMaNGOS Commits | 0 | 11.02.2011 01:10 |
[10481] Use prefix m_ for member variable in motionMaster | newsbot | CMaNGOS Commits | 0 | 14.09.2010 13:00 |