Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P poppler
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 665
    • Issues 665
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 46
    • Merge requests 46
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • poppler
  • poppler
  • Issues
  • #762
Closed
Open
Issue created May 01, 2019 by Peter Williams@pkgwContributor

0.76.1 breaks Windows/VS2015 compilation due to loops in constexpr functions

The latest release breaks compilation on Visual Studio 2015 as done in the conda-forge project. Here are some example logs.

The problem seems to relate to the loop expressions in the new constexpr hash functions:

%SRC_DIR%\poppler\Decrypt.cc(769): error C3250: 's': declaration is not allowed in 'constexpr' function body
%SRC_DIR%\poppler\Decrypt.cc(769): error C3249: illegal statement or sub-expression for 'constexpr' function
%SRC_DIR%\poppler\Decrypt.cc(769): note: see usage of '++'

This page seems to say that Visual Studio gained support for constexpr for loops in 2017.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking