I am running some code that I have written in C which calls the md5 hashing functionality from a hashing library that someone else wrote (md5.c & md5.h). The odd behavi
Different compilers can have different levels of standard compliance. If you run into a sub-standard compiler you can have hard times seeing that well-tested code has been compiled to something working entirely different.
It can also happen that the target system is 64-bit and the code has 64-bit portability issues.
The only way to solve the problem is to debug where exactly the two versions of your code behave differently.