As topic. Building SDL_ttf against the lastest SDL3 master as pulled today gives the following errors:
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:357:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_F1) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:361:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_SPACE) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:366:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_BACKSPACE) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:371:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_DOWN) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:377:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_UP) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:382:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_c) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:388:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_v) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:395:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_o) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:401:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_p) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:406:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_q) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:411:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_a) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:417:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_e) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:422:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_i) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:428:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_b) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:434:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_u) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:440:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_s) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:446:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_k) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:455:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_w) {
~~~~~~~~~ ^
/home/etna/Tmpdir/SDL_ttf/examples/testapp.c:464:31: error: no member named 'keysym' in 'struct SDL_KeyboardEvent'
if (event.key.keysym.sym == SDLK_f) {
~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
As topic. Building SDL_ttf against the lastest SDL3 master as pulled today gives the following errors:
Can this be fixed? Thanks.