TIVTC icon indicating copy to clipboard operation
TIVTC copied to clipboard

Build fails on Linux with GCC 13.2.1

Open chrylis opened this issue 1 year ago • 1 comments

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.)

chrylis avatar Nov 04 '24 21:11 chrylis

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.

pinterf avatar Nov 05 '24 08:11 pinterf

No feedback, closing

pinterf avatar May 23 '25 09:05 pinterf