|
---|
|
Регистрация | Правила | Альбомы | Справка | Пользователи | Календарь | Поиск | Сообщения за день | Все разделы прочитаны |
CMaNGOS Commits Изменения, принятые в официальный репозиторий ядра CMaNGOS. git://github.com/cmangos/mangos-wotlk.git |
|
Опции темы | Поиск в этой теме | Опции просмотра |
|
23.09.2015, 08:11 | #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.</pre> Подробнее... |
Опции темы | Поиск в этой теме |
Опции просмотра | |
|
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
[11814] Use the same variable to store the message for AFK and DND | newsbot | CMaNGOS Commits | 0 | 12.10.2011 12:00 |
[11218] Fixed typo in local var. | newsbot | CMaNGOS Commits | 0 | 05.03.2011 03:23 |
[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 |
[9739] Use local var value instead recalculation. | newsbot | CMaNGOS Commits | 0 | 13.04.2010 01:34 |