Ok, will go this route then. Fixed a bug somewhere that opened a can of worms as some mprogs used nested if while the engine did not support them to begin with… So i decided I should just upgrade the engine if I have to retest all the mprogs anyway.
Just to mention that compiling under Clang reported 2 or 3 problems:
../backups/src/db.c:2922:10: warning: use of unary operator that may be intended as compound assignment (-=) length =- length; <—– huh ? the only real problem as I don't know what the coder intentions were.
../backups/src/dynamic.c:759:24: warning: too many arguments in call to 'get_dyn_position' get_dyn_position(ch), <—- indeed the methods takes no parameters at all. It uses a global dyn_char, so ch is just ignored there.
../backups/src/clans.c:886:53: warning: array index of '3' indexes past the end of an array (that contains 3 elements) [-Warray-bounds] clan->pkills+clan->pkills+clan->pkills+clan->pkills+clan->pkills,
pkills stops at MAX_GOD that is 3, a loop should be used there to avoid this kind of problem