fix msvc6 template warning fix writing to uninitialized pointer Modified: trunk/reactos/tools/rbuild/backend/msvc/genguid.cpp _____
Modified: trunk/reactos/tools/rbuild/backend/msvc/genguid.cpp --- trunk/reactos/tools/rbuild/backend/msvc/genguid.cpp 2005-10-20 12:42:09 UTC (rev 18626) +++ trunk/reactos/tools/rbuild/backend/msvc/genguid.cpp 2005-10-20 13:59:37 UTC (rev 18627) @@ -20,7 +20,7 @@
* */
- +#include "../../pch.h" #include "msvc.h" #include <string>
@@ -45,7 +45,7 @@ GUID m_guid; HRESULT result; bool good_guid = false; - char* guid; + static char guid[38]; // Load ole32. We will need it later on HMODULE olelib = LoadLibrary ( "ole32.dll" );