I
Ian Collins
I've only had to do this once and it was tedious but not too hard. IJ. J. Farrell said:Agreed on all counts - different interpretations of "minor". The list
of differences is small, and each of them is minor. It is possible to
turn valid C code into valid C++ code with a few minor modifications;
that is, it is incredibly unlikely to need any redesign, almost all
the changes would be little more than editorial, and there usually
wouldn't be that many of them. That doesn't mean that C code can be
compiled as C++ code, or that it's a minor job to take a real-world C
program and do the minimal work required to make it a valid C++
program.
certainly wouldn't do it unless the cost was justified.
If you want to use the common subset, do it from day 1.