Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Unable to compile under ubuntu 22.04 LTS without two file changes in util.cpp and catch.hpp #130

Description

@HackettJP

a few errors whilst trying to compile

  1. error: ‘logic_error’ in namespace ‘std’ does not name a type within util.cpp
  2. error: call to non-‘constexpr’ function ‘long int sysconf(int)’

1st change
util.cpp add the header
#include < stdexcept > <-- remove the space between stdexcept seems comments remove the text

2nd change
change the line below within catch.hpp (10830)
// static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
static constexpr std::size_t sigStackSize = 32768;

./egtest

Class Vec2D: 2D vector
add: add vector to this and return result

test cases: 4 | 4 passed
assertions: - none -

./pondertest

99.250000
78
yadda

3
6
9

0.750000 89 stringy

{"float":"99.250000","int":"78","string":"yadda","vector":["3","6","9"]}
{"instance":{"float":"0.750000","int":"89","string":"stringy","vector":[]}}

All tests passed (1767 assertions in 65 test cases)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions