I am getting the following build error when trying to build latest svn trunk on MingW 3.4.5 W32API 3.12:
This happens because HRESULT is defined by the compiler as 'long'. If I typecast hr to int the code is compiled without errors, as follows:CD3D9Driver.cpp:2334 call of overloaded 'string(HRESULT&)' is ambiguous
os::Printer::log("Resetting failed due to unknown reason.", core::stringc((int)hr).c_str(), ELL_WARNING);
Could you please confirm if it is a bug?
Thanks and best regards,