[Poppler-bugs] [Bug 32496] Fixes for build issues using Visual Studio 2008/2010 toolchain

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 19 02:22:26 PST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=32496

--- Comment #4 from Philip Lorenz <lorenzph+freedesktop at gmail.com> 2010-12-19 02:22:26 PST ---
(In reply to comment #3)
> I'm a little confused of why you need
> -    if (_wstat(fileName2, &buf) == 0) {
> +    if (_wstat((const wchar_t *) fileName2, &buf) == 0) {
> if fileName2 is already a wchar_t array and thus a const wchar_t *

Ok I must've looked at the wrong line when the compiler notified me about it. I
guess the compilation error was caused by the _wstat call in the else branch a
couple of lines below.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list