Re: [PATCH 2/2] Use #include "common/..." in (de)marshallers

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

 



On Wed, Mar 19, 2014 at 05:52:23PM +0100, Christophe Fergeau wrote:
> On Wed, Mar 19, 2014 at 05:40:39PM +0100, Marc-André Lureau wrote:
> > On Wed, Mar 19, 2014 at 5:35 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx>wrote:
> > 
> > > Hey,
> > >
> > > On Wed, Mar 19, 2014 at 05:25:48PM +0100, Marc-André Lureau wrote:
> > > > aren't the #include "header" looked up in current file directory?
> > >
> > > Yes, but we have some of the generated marshallers containing #include
> > > "messages.h". These generated marshallers are in $builddir, messages.h is
> > > in $srcdir so we need an explicit -I when $srcdir != $builddir
> 
> > ok, shouldn't it use <common/..> in this case?
> 
> Sorry, #include "common/..." is used after one of the patches, but when
> building $top_builddir/spice-common/common/generated*.c we need to look up
> includes in $top_srcdir/spice-common/ if we want #include
> "common/messages.h" to be found, which is what this commit adds.

Did this answer your question?

Christophe

Attachment: pgptrW4FTcJ8D.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]