[Poppler-bugs] [Bug 91129] New: Error in gfile.cc - GetFileSizeEx was not declared in this scope - MinGW / MSYS build

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 27 11:23:56 PDT 2015


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

            Bug ID: 91129
           Summary: Error in gfile.cc - GetFileSizeEx was not declared in
                    this scope - MinGW / MSYS build
           Product: poppler
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: testuser448 at gmail.com

I 'git cloned' poppler and configured successfully:
Building poppler with support for:
  font configuration: win32
  splash output:      yes
  cairo output:       yes
  qt4 wrapper:        yes
  qt5 wrapper:        no
  glib wrapper:       yes
    introspection:    no
  cpp wrapper:        yes
  use gtk-doc:        no
  use libjpeg:        yes
  use libpng:         yes
  use libtiff:        yes
  use zlib:           no
  use libcurl:        yes
  use libopenjpeg:    yes
      with openjpeg2
  use cms:            yes
      with lcms2
  command line utils: yes

but make failed with:

$ make
make  all-recursive
make[1]: Entering directory `/c/users/testuser448/Downloads/poppler'
Making all in goo
make[2]: Entering directory `/c/users/testuser448/Downloads/poppler/goo'
  CXX    libgoo_la-gfile.lo
gfile.cc: In member function 'int GooFile::read(char*, int, Goffset) const':
gfile.cc:604:34: warning: missing braces around initializer for
'_LARGE_INTEGER:
:<anonymous struct>' [-Wmissing-braces]
gfile.cc: In member function 'Goffset GooFile::size() const':
gfile.cc:615:37: warning: missing braces around initializer for
'_LARGE_INTEGER:
:<anonymous struct>' [-Wmissing-braces]
gfile.cc:617:30: error: 'GetFileSizeEx' was not declared in this scope
make[2]: *** [libgoo_la-gfile.lo] Error 1
make[2]: Leaving directory `/c/users/testuser448/Downloads/poppler/goo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/users/testuser448/Downloads/poppler'
make: *** [all] Error 2

My gcc version is 4.7.2.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150627/d36b01c5/attachment.html>


More information about the Poppler-bugs mailing list