I'm tryign to build 'Introjucer' in Windows XP with Mingw 4.4.1 (in CodeBlocks) and am getting 7 errors like this.
undefined reference to `__sync_add_and_fetch_4'
This is happening on lines in the source code with this entry:
return sizeof (Type) == 4 ? castFrom32Bit ((int32) __sync_add_and_fetch ((volatile int32*) &value, 0))
: castFrom64Bit ((int64) __sync_add_and_fetch ((volatile int64*) &value, 0)); //ERROR HAPPENS HERE
I can only assume there is a need for a compiler flag for this but I'm not sure what?
Would anyone know how to fix this as I really want to use JUCE. Thanks
