Closed LordJZ closed 12 years ago
Nice)
It causes the compilation to fail on Debian 6.0. No tests was done ?
Using: cmake ../ -DPREFIX=/opt/mangos -DPCH=1 -DACE_USE_EXTERNAL=0 -DDEBUG=0 -DTBB_USE_EXTERNAL=0;
By the way, please update the crappy guide!
Thanks.
Looks like some inline issues - most likely the file ByteBuffer.h should not be inlcuded in any headers at all.
(call stack is from sd2 use - which clearly does not need ByteBuffer)
ACE_Stack_Trace possible not exist in old ACE versions. Or maybe some include missing. Look in https://github.com/mangos/mangos/blob/master/src/shared/Errors.h
Also it cleary must be in .cpp instead header. Same build error must be at Freebsd with old system port ACE
I'm pretty sure my Debian 6 with ACE 6.0.0 has ACE_Stack_Trace. Possibly bundled ACE version issue?
Thanks to @VladimirMangos, I will put some defines in and open a new pull request.
Helps a lot when debugging new packet structures.