On 8/3/23 22:54, Olaf Hering wrote:
Thu, 3 Aug 2023 21:38:02 +0200 Michal Prívozník
<mprivozn(a)redhat.com>:
> it looks like we're using { 0 } everywhere else so that's why I went with
it.
I was under the impression {} is valid. But apparently it is not,
so I learned something new today: "ISO C forbids empty initializer braces".
Olaf
The next C, likely C23 or ISO/IEC 9899:2024 will include also {} as an alternative for { 0
}.
I found this one interesting:
https://www.youtube.com/watch?v=lLv1s7rKeCM
Ciao,
C