Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

fix(build): qualify size_t in vmm.hpp (GCC 12 rejects the unqualified name)

aleesposito85ac11069a97e7
diff --git a/include/strata/core/vmm.hpp b/include/strata/core/vmm.hpp
index 0c9f816b9..d8bcf0b57 100644
--- a/include/strata/core/vmm.hpp
+++ b/include/strata/core/vmm.hpp
@@ -33,7 +33,7 @@ public:
void release();
uint8_t* base() const { return (uint8_t*) (uintptr_t) base_; }
int64_t chunks() const { return (int64_t) h_.size(); }
- bool mapped(int64_t i) const { return i >= 0 && i < chunks() && h_[(size_t) i] != 0; }
+ bool mapped(int64_t i) const { return i >= 0 && i < chunks() && h_[(std::size_t) i] != 0; }
int64_t mapped_count() const;
/// Maps chunks [lo, hi) that are not mapped yet, each to `take()` or, when that returns 0, to a new chunk.
/// Readable and writable when it returns; false: out of memory (what was mapped stays mapped).