I made a simple example below:
int main (int argc, char * const argv)
char a = “A”;
MD5 mMD5(a, 1);
::printf("%s\n", (const char*)mMD5.toHexString());
On Intel-Macs, the result is 7fc56270e7a70fa81a5935b72eacbe29 both with Debug/Release settings.
But the result is not correct when compilied as PPC with Release setting. The result is always 00000000000000000000000000000000 regardless of the value. With Debug setting, the result is correct, it’s the same as Intel-Macs.
I’m using the .xcconfig file comes with juce v1.38.
I saw the source code of MD5 in juce but there seems be no difference between Debug/Release…
Are there any endian issue or am I missing something?