[PATCH 01/13] tools: Fix vshControl declaration and initialization
Claudio Fontana
cfontana at suse.de
Fri Aug 4 07:40:37 UTC 2023
On 8/3/23 22:54, Olaf Hering wrote:
> Thu, 3 Aug 2023 21:38:02 +0200 Michal Prívozník <mprivozn at 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
More information about the libvir-list
mailing list