Jump to content

Can't compile on Mac OS X


Guest Shin Darth
 Share

Recommended Posts

Core rev: [11928]

Shins-MacBookPro:build Shin$ uname -a Darwin Shins-MacBookPro.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64

[ 26%] Building CXX object src/shared/CMakeFiles/shared.dir/Auth/SARC4.cpp.o

[ 27%] Building CXX object src/shared/CMakeFiles/shared.dir/Auth/Sha1.cpp.o

[ 27%] Building CXX object src/shared/CMakeFiles/shared.dir/Common.cpp.o

[ 27%] Building CXX object src/shared/CMakeFiles/shared.dir/Config/Config.cpp.o

/Users/Shin/sources/mangos/src/shared/Config/Config.cpp:24:1: error: explicit

specialization of 'si_instance' after instantiation

INSTANTIATE_SINGLETON_1(Config);

^

/Users/Shin/sources/mangos/src/framework/Policies/SingletonImp.h:73:135: note:

expanded from macro 'INSTANTIATE_SINGLETON_1'

...MaNGOS::ObjectLifeTime<TYPE> >::si_instance = 0; \\

^

/Users/Shin/sources/mangos/src/framework/Policies/SingletonImp.h:36:10: note:

implicit instantiation first required here

if (!si_instance)

^

/Users/Shin/sources/mangos/src/shared/Config/Config.cpp:24:1: error: explicit

specialization of 'si_destroyed' after instantiation

INSTANTIATE_SINGLETON_1(Config);

^

/Users/Shin/sources/mangos/src/framework/Policies/SingletonImp.h:74:134: note:

expanded from macro 'INSTANTIATE_SINGLETON_1'

...MaNGOS::ObjectLifeTime<TYPE> >::si_destroyed = false

^

/Users/Shin/sources/mangos/src/framework/Policies/SingletonImp.h:43:17: note:

implicit instantiation first required here

if (si_destroyed)

^

2 errors generated.

make[2]: *** [src/shared/CMakeFiles/shared.dir/Config/Config.cpp.o] Error 1

make[1]: *** [src/shared/CMakeFiles/shared.dir/all] Error 2

make: *** [all] Error 2

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use