onetrueawk / awk

One true awk
Other
1.99k stars 160 forks source link

Restore ability to compile with g++. #219

Closed arnoldrobbins closed 8 months ago

arnoldrobbins commented 8 months ago

C++ compilation was broken when we merged the UTF-8 support. This fixes things.

It's something of a band-aid. The mixing of signed and unsigned chars isn't all that healthy and ought to be really straightened out at some point.

In any case, it passes the test suite when compiled both with gcc and g++. Enjoy.