gcc-15 defaults to the C23 standard. With gcc-15 tclx compiles with the -std=gnu17, but not with the default setting. Attached is patch that fixes several problems (not all, there are more problems to fix). Maybe it can be resolved better by refactor.