[Spice-devel] spice-server, logging and style

Frediano Ziglio fziglio at redhat.com
Fri Nov 20 10:01:30 PST 2015


> 
> On Tue, Nov 03, 2015 at 08:15:14AM -0500, Frediano Ziglio wrote:
> > Problems:
> > - the Spice_style.odt is outdated;
> > - spice_assert recall the standard assert but instead it mainly
> >   call spice_error which like GLib is fatal and should call exit/abort.
> >   It is not affected by NDEBUG or other definitions. Why using it instead
> >   of spice_error?
> 
> Note that spice-common has verify.h (from gnulib) which can be used for
> truly static checks. I did not notice that there is a
> spice_static_assert before ;)
> 
> Christophe
> 

I think you are confusing static assertions here with dynamic ones.

Frediano


More information about the Spice-devel mailing list