[Spice-devel] [PATCH proto] macros: remove INLINE

Christophe Fergeau cfergeau at redhat.com
Mon Oct 7 15:41:45 CEST 2013


On Mon, Oct 07, 2013 at 09:16:30AM -0400, Marc-André Lureau wrote:
> 
> 
> > Won't that make VC++ unhappy?
> 
> It's not being used in the protocol headers.
> 
> For the usage, it's used partially in spice-common (mixed with regular
> inline), in which we require c99 anyway, as said in commit message.

This does not answer the question. Iirc vc++ does not support c99, so
INLINE may be needed by vc++. The spice-common headers may already be c99
or broken with vc++, but 'it's already broken' is not a very convincing reason
to make things worse. glib seems to have some portability magic for
'inline'.
With that said, this would only impact win builds of the old spicec client,
so we can probably decide it's not a big issue.

Christophe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20131007/15039f96/attachment.pgp>


More information about the Spice-devel mailing list