From: "Frediano Ziglio" <fziglio@xxxxxxxxxx> To: "Dmitry Fleytman" <dmitry@xxxxxxxxxx> Cc: "Spice List" <spice-devel@xxxxxxxxxxxxxxxxxxxxx> Sent: Tuesday, September 6, 2016 1:30:44 PM Subject: Re: [PATCH qxl-wddm-dod v2 12/25] Rename mspace.c to mspace.cpp
Yes, especially if you don't know what you are doing and you don't have a acceptable test suite.
I hope that they all don't apply to us.
Hi Frediano,
Actually using Microsoft C++ compiler for C files is recommended because it performs more excessive static checks and produces warnings regarding more potential problematic cases. And this is definitely a good thing.
~Dmitry
Yes... C++ does more strictly checks. This does not means that all C programmers are moving to a C++ compiler! The mspace.c file is shared between different projects where some require it to be C.
Rename to .cpp can cause maintainability issue as it's easier to introduce C++ construct that would lead to a fork.
As the initial rationale (a workaround for a VS bug) didn't apply anymore I would avoid the rename.
Sure. No problem.
|
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel