Skip to content

Review use of msgpack-cpp floats/doubles workaround #147

@StevenMaude

Description

@StevenMaude

This was introduced in #146 to retain the behaviour of msgpack-cpp v4.1.1 where floats and doubles never get converted to ints. This allows us to upgrade to the latest msgpack-cpp and closes #142.

The code seems seldom touched, so this might be a reasonably sustainable workaround for now. It will need reviewing on the next msgpack-cpp upgrade, and become problematic if the code upstream starts to diverge more.

A better workaround might be one of:

  • override the way floats and doubles get packed by msgpack-cpp
  • rework any downstream code that handles the output of pdf2msgpack to cope with the possibility of ints

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions