I realize codewarrior is dead, but here’s a few things I found while trying to compile with it:
juce.h line 165
#if defined( __GNUC__ ) || defined( __MWERKS__ )
juce_platformdefs.h line 136
typedef __int64 int64; /** A platform-independent 64-bit unsigned integer type. */ typedef unsigned __int64 uint64;
juce_Atomic.h does not compile.
juce_mac_windowing.cpp line 938,
should be declared pascal. There are other routines with this problem in juce_mac_fonts.cpp also such as CubicClosePath, juce_mac_filechooser.cpp such as juceNavEventProc.
Also the macro T() is not a good choice as MSL internally uses it for other purposes, using _T() or something else would be better.