Re: [PATCH 01/13] tools: Fix vshControl declaration and initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/3/23 22:54, Olaf Hering wrote:
> Thu, 3 Aug 2023 21:38:02 +0200 Michal Prívozník <mprivozn@xxxxxxxxxx>:
> 
>> 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





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux