[Poppler-bugs] [Bug 7107] Windows portability fixes

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 20 13:23:47 PDT 2010


http://bugs.freedesktop.org/show_bug.cgi?id=7107





--- Comment #8 from Patrick Spendrin <ps_ml at gmx.de>  2010-03-20 13:23:47 PST ---
(the last build on msvc worked btw.)
on mingw there are several bugs
1) in goo/gfile.cc _MAX_PATH probably can be defined to MAX_PATH (which is
defined on mingw)
2) in poppler/Annot.cc strdup is used which seems to be a non-ansi extension
according to mingw. This means that the -ansi keyword would need to be removed
or a replacement be found (also _strdup is not defined).
3) in poppler/GlobalParamsWin.cc was an error about settings _WIN32_IE to at
least 0x0500, so I did that. This fix is the only one that could be committed
directly.

configuration is:
Building Poppler with support for:
  font configuration:   win32
  splash output:        yes
  cairo output:         no
  abiword output:       yes
  qt wrapper:           no
  qt4 wrapper:          yes
  glib wrapper:         no
    use GDK:            no
  cpp wrapper:          yes
  use gtk-doc:          not supported with this CMake build system
  use libjpeg:          yes
  use libpng:           yes
  use zlib:             no
  use libopenjpeg:      yes
  use cms:              yes
  command line utils:   yes

As I currently don't have autotools available, I cannot test with mingw+msys,
maybe I can find somebody else if nobody has the time to do that.


-- 
Configure bugmail: http://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