Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Compilation on Linux x64 #2

@theo-dep

Description

@theo-dep

Hi,

I am trying to understand the vcpkg repository example but I am facing this issue when I run vcpkg install in the beson-ptr example:

.../vcpkg/buildtrees/beison/src/b7a414bcb0-d477a732e3.clean/src/beison.cpp: In static member function ‘static beison::Value beison::Value::number(double)’:
.../vcpkg/buildtrees/beison/src/b7a414bcb0-d477a732e3.clean/src/beison.cpp:252:22: error: ‘isfinite’ was not declared in this scope
  252 |                 if (!isfinite(d)) std::abort();
      |                      ^~~~~~~~
.../vcpkg/buildtrees/beison/src/b7a414bcb0-d477a732e3.clean/src/beison.cpp: In member function ‘beison::Value beison::{anonymous}::Parser::parse_number(std::error_code&)’:
.../vcpkg/buildtrees/beison/src/b7a414bcb0-d477a732e3.clean/src/beison.cpp:735:72: error: ‘INFINITY’ was not declared in this scope
  735 |                                                 if (std::abs(result) < INFINITY)
      |                                                                        ^~~~~~~~
ninja: build stopped: subcommand failed.

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