Due to an obscurity in the C11 standard, rdf_db.c causes a compilation error on line 6090. This is because there is a declaration following a label, which is not legal until C23. A simple fix would be to put braces around everything after the error: label.
13:54:38 /srv/jenkins/workspace/pharos-rose/swipl/packages/semweb/rdf_db.c: In function ‘rdf_load_db’:
13:54:38 /srv/jenkins/workspace/pharos-rose/swipl/packages/semweb/rdf_db.c:6090:3: error: a label can only be part of a statement and a declaration is not a statement
13:54:38 6090 | term_t err = PL_new_term_ref();
13:54:38 | ^~~~~~
Due to an obscurity in the C11 standard,
rdf_db.c
causes a compilation error on line 6090. This is because there is a declaration following a label, which is not legal until C23. A simple fix would be to put braces around everything after theerror:
label.