Do not support GCC 9 (#1978)

This will let us use C++20 features that GCC 9's experimental
C++20 support did not yet cover, such as "concepts".

This reverts some commits:
- 6bcd79b997
- d5ce5329ea
- 728d14879b
This commit is contained in:
Rangi
2026-05-22 16:46:46 -04:00
committed by GitHub
parent 48fcd9a0ca
commit 728bed39d5
11 changed files with 11 additions and 18 deletions
+2 -2
View File
@@ -5,10 +5,10 @@
#include "asm/fixpoint.hpp"
#include <math.h>
#include <numbers>
#include <stdint.h>
// Ideally we'd use `std::numbers::pi`, but GCC 9 doesn't support it.
static constexpr double tau = 3.141592653589793238462643383279502884L * 2;
static constexpr double tau = std::numbers::pi * 2;
static double fix2double(int32_t i, int32_t q) {
return i / pow(2.0, q);
-1
View File
@@ -100,7 +100,6 @@ private:
AssignedSetsIter() = default;
bool operator==(AssignedSetsIter const &rhs) const { return _iter == rhs._iter; }
bool operator!=(AssignedSetsIter const &rhs) const { return !operator==(rhs); }
AssignedSetsIter &operator++() {
++_iter;
-1
View File
@@ -263,7 +263,6 @@ struct Image {
}
bool operator==(Iterator const &rhs) const { return coords() == rhs.coords(); }
bool operator!=(Iterator const &rhs) const { return !operator==(rhs); }
};
public: