--- include/paragui.h.old 2004-04-17 22:39:07.000000000 +0200 +++ include/paragui.h 2008-06-29 00:58:45.000000000 +0200 @@ -65,6 +65,13 @@ #include "paraconfig_gnu.h" #endif +#if PG_VERSIONNUM(__GNUC__, __GNUC_MINOR__, 0) >= PG_VERSIONNUM(4, 3, 0) +#undef HAVE_HASH_MAP +#ifndef HAVE_EXT_HASH_MAP +#define HAVE_EXT_HASH_MAP +#endif +#endif + // // STL map / hash_map // --- src/core/pgfilearchive.cpp.old 2004-03-13 14:45:44.000000000 +0100 +++ src/core/pgfilearchive.cpp 2008-06-29 00:59:27.000000000 +0200 @@ -100,7 +101,7 @@ const char* sep = GetDirSeparator(); std::string::size_type pos = 0, incr; newpath = new std::string(path); - incr = std::strlen(sep); + incr = strlen(sep); if(incr == 1 && sep[0] == '/') return newpath;