Extremely disappointed in myself hahaha....That preprocessor function definition was not running where it was supposed to...
The original code was:
Code:
#ifdef JUICE_DEBUG
#define juice_debug_addallocated(a,b) juice::debug::AddAllocated(a, b)
#define juice_debug_removeallocated(a) juice::debug::RemoveAllocated(a)
#else
#define juice_debug_addallocated(a,b)
#define juice_debug_removeallocated(a)
#endif
JUICE_DEBUG was not defined correctly in all the source files or header files...Hopefully, things like that don't happen too often...
Thanks for your time.