Fixed all warnings in cemhydmat.C. TinyXML is assumed to be located in tinyxml directory under OOFEM's root. A shared library is created and linked to the rest of code. It allows simple use of CEMHYDMAT and cmake, independent of compiler. This version was tested on Windows XP under MinGW compiler.