[Spice-devel] [spice-common 3/5] codegen: Use "" rather than <> for cmdline includes

Christophe Fergeau cfergeau at redhat.com
Thu Jun 23 12:25:05 UTC 2016


On Thu, Jun 23, 2016 at 02:03:45PM +0200, Pavel Grunt wrote:
> Hi Christophe,
> 
> they were patches changing spice common includes to use <> instead of "", so I
> would keep it.

The generated code is in spice-common/common, so my understanding is
that "" should be used there for headers from the spice-common module
(see spice-common/common/region.c for example). Headers from other
modules (spice-protocol) should use <>.
In this case, it's changing #include <common/...> to #include
"common/..." (but it would do the wrong thing if we started passing
spice-protocol headers on the command line)

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160623/4f2f3ef1/attachment.sig>


More information about the Spice-devel mailing list