[Poppler-bugs] [Bug 32496] New: Fixes for build issues using Visual Studio 2008/2010 toolchain
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Dec 18 06:27:28 PST 2010
https://bugs.freedesktop.org/show_bug.cgi?id=32496
Summary: Fixes for build issues using Visual Studio 2008/2010
toolchain
Product: poppler
Version: unspecified
Platform: All
OS/Version: Windows (All)
Status: NEW
Severity: normal
Priority: medium
Component: general
AssignedTo: poppler-bugs at lists.freedesktop.org
ReportedBy: lorenzph+freedesktop at gmail.com
Created an attachment (id=41235)
--> (https://bugs.freedesktop.org/attachment.cgi?id=41235)
Use Guint rather than uint in FontInfo.cc
While building Poppler using the Visual Studio toolchain I ran into several
small issues. Attached are three small patches fixing the issues I encountered.
Patch #1: FontConfig.cc uses uint which is not known by the compiler.
Patch #2: Qt4 Frontend: The structs defined within the Annotation class are not
marked as exported. This causes problem when linking against the produced DLL.
Patch #3:
MSDN says (http://msdn.microsoft.com/de-de/library/14h5k7ff%28VS.80%29.aspx)
that the buffer should be of type struct _stat. Secondly, fileName2 has to be
type casted to a wchar_t which should be fine.
However, in the else case I am not sure whether _wstat or the _stat version of
the command should be used (I am not too familiar with Windows encoding issues
between the different releases).
All patches were made against 0.15.3 but should apply just fine to todays git
version.
--
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