TIVTC
TIVTC copied to clipboard
Build fails on Linux with GCC 13.2.1
I think this is a result of a newer C++ version being used by default. Compilation fails with
TIVTC-1.0.29/src/common/fixedfonts.cpp:32:24: error: ‘uint16_t’ was not declared in this scope
32 | constexpr std::array<uint16_t, CHARCOUNT * HEIGHT> fixedfont_bitmap = {
|
Adding #include <cstdint> to fixedfonts.cpp resolves the problem.
(It apparently results in a malloc failure (cArray) at runtime, but it compiles. Possibly relevant.)
Actually it was already fixed.
https://github.com/pinterf/TIVTC/blob/master/src/common/fixedfonts.cpp#L15
The allocation failure was fixed as well, check issue #31.
Refresh your repo or let's figure out why you see an older copy of the source.
No feedback, closing