[Spice-devel] [spice-server] style: Slight tweak to the header guard section
Christophe Fergeau
cfergeau at redhat.com
Thu Feb 15 12:41:48 UTC 2018
On Thu, Feb 15, 2018 at 11:55:44AM +0100, Christophe de Dinechin wrote:
> Now, Christophe’s arguments are that
>
> 1) we should not write guidelines that are inconsistent with existing code.
> 2) this is in the server codebase, so we should server rules
>
> Problem is with 2, really.
>
> We started updating the guidelines because we wanted to talk about C++
> style in the streaming agent, not the server.
> I updated the server guidelines, because that’s historically where the
> style guide has been, and the only place where SPICE has one.
>
> For now, I’d vote for stating that the server guidelines apply to all
> of the SPICE code. If we decide that means we should move them
> elsewhere, that’s fine with me.
>
> If that idea is accepted, then Christophe (2) no longer hold, and we
> can explicitly state that we accept both // and /* for all comments,
> including that one.
My patch was changing the example from using // to using /*, and was
adding a note explicitly saying // was acceptable too.
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180215/2e895eb4/attachment.sig>
More information about the Spice-devel
mailing list