[Poppler-bugs] [Bug 79874] New: Compilation of Qt5 frontend fails with MinGW

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 10 03:40:17 PDT 2014


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

          Priority: medium
            Bug ID: 79874
          Assignee: poppler-bugs at lists.freedesktop.org
           Summary: Compilation of Qt5 frontend fails with MinGW
          Severity: normal
    Classification: Unclassified
                OS: other
          Reporter: freedesktop at akikoskinen.info
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: qt frontend
           Product: poppler

Created attachment 100797
  --> https://bugs.freedesktop.org/attachment.cgi?id=100797&action=edit
Proposed patch for the problem

When trying to cross-compile Poppler with MinGW the compilation fails because
of an error in the Qt5 frontend. The error is:

qt5/src/poppler-private.h:91:21: error: 'std::wstring' has no member named
'_Copy_s'
   int length = wstr._Copy_s(fileName, filePath.length(), filePath.length());

That's caused because of usage of Microsoft specific API.

A proposed patch is attached.

-- 
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/20140610/cf355ed3/attachment.html>


More information about the Poppler-bugs mailing list