Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
poppler
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 613
    • Issues 613
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 39
    • Merge Requests 39
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • poppler
  • poppler
  • Issues
  • #643

Closed
Open
Opened Oct 06, 2018 by Pingplug Feng@pingplug

can not build on mingw

OS: Arch Linux Version: 0.69.0 Failed to build with this error:

/tmp/makepkg/mingw-w64-poppler/src/poppler-0.69.0/utils/pdftocairo-win32.cc: In function 'void win32SetupPrinter(GooString*, GooString*, GBool, GBool)':
/tmp/makepkg/mingw-w64-poppler/src/poppler-0.69.0/utils/pdftocairo-win32.cc:375:19: error: 'gstrndup' was not declared in this scope
     printerName = gstrndup(printer->getCString(), printer->getLength());
                   ^~~~~~~~
/tmp/makepkg/mingw-w64-poppler/src/poppler-0.69.0/utils/pdftocairo-win32.cc:375:19: note: suggested alternative: 'strdup'
     printerName = gstrndup(printer->getCString(), printer->getLength());
                   ^~~~~~~~
                   strdup

It seems that gstrndup() have been moved to copyString()

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: poppler/poppler#643