[Spice-devel] #include "canvas_base.c" ?

Christophe de Dinechin cdupontd at redhat.com
Thu Feb 15 14:28:42 UTC 2018


While looking at some warnings, I came across this in sw_canvas.c:

#include “canvas_base.c"

So we include a .c in another one. Apparently, this was inherited from some Cairo canvas. Is that something we care to keep as is?

canvas_base.c by itself does compile, but with warnings about unused static functions, which are however used in sw_canvas.c.


Thanks
Christophe




More information about the Spice-devel mailing list