.
D 2025-11-15T22:13:31.759
L branch/c-std-update
N text/x-markdown
P 9343e54eb89e939402cef30fed756b528275bb00d2fe41c9a31bb3550f02e1f3
U dkf
W 1653
This branch is looking at the things we can do by adopting C11 features (as opposed to just C89) more consistently.
The following branches are _derived_ from this one:
* [`c11-anon-members`](https://core.tcl-lang.org/tcl/timeline?r=c11-anon-members)
* [`c11-array-literals`](https://core.tcl-lang.org/tcl/timeline?r=c11-array-literals)
* [`c11-automarker`](https://core.tcl-lang.org/tcl/timeline?r=c11-automarker)
* [`c11-bool`](https://core.tcl-lang.org/tcl/timeline?r=c11-bool)
* [`c11-generic-oo-api`](https://core.tcl-lang.org/tcl/timeline?r=c11-generic-oo-api)
* [`c11-printf-result`](https://core.tcl-lang.org/tcl/timeline?r=c11-printf-result)
* [`c11-tcloo-foreach`](https://core.tcl-lang.org/tcl/timeline?r=c11-tcloo-foreach)
* [`c11-full-hash-foreach`](https://core.tcl-lang.org/tcl/timeline?r=c11-full-hash-foreach) (extended version)
* [`c11-tebc-trace-cleanup`](https://core.tcl-lang.org/tcl/timeline?r=c11-tebc-trace-cleanup) ✓
* [`c11-varargs-nr-add-callback`](https://core.tcl-lang.org/tcl/timeline?r=c11-varargs-nr-add-callback)
There is no branch for changing comment styles (`/* ... */` to `// ...`); we _can,_ but it makes no sense to prioritise doing so at all and it makes only the smallest of readability difference. Change when it makes sense to do it as part of some other activity, not before.
Similarly, moving variable declarations around inside functions isn't very high value and yet is *very* noisy. Outside of doing things like making iteration neater (where gains are stronger), it's not worth putting a lot of effort into specifically, but can easily be done incrementally as part of other work.
Z 64f5d75c89347738cde9de0d103559e5