Hi,
Found trivial bugs in win32 platform layer;
1) platform_win32.cpp is missing from GNUmakefile.am
2) in libplatform/io/FileSystem_win32.cpp:
in some functions, these lines:
log.errorf("%s: GetFileAttributesExW(%s) failed (%d)",
__FUNCTION__,filename.utf8, GetLastError());
should be rewritten like the following:
log.errorf("%s: GetFileAttributesExW(%s) failed (%d)",
__FUNCTION__,filename.utf8.c_str(), GetLastError());
That is, filename.utf8 is not char* but std::string, therefore
cannot be directly passed to log.errorf().
Original issue reported on code.google.com by honeycom...@gmail.com on 27 Mar 2011 at 10:09
Original issue reported on code.google.com by
honeycom...@gmail.com
on 27 Mar 2011 at 10:09