This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using C++ in GCC is OK
On Wed, 2 Jun 2010, Richard Guenther wrote:
> I'd like us to stick with C comments only. I defintely do not like
> a mix of both styles and I can't see an advantage of C++ comments.
Agreed. Moving code between bits of the compiler should not mean creating
ugly inconsistencies of formatting and I can see no good reason to convert
existing comments. The same applies to all other aspects of formatting
that are meaningful for both C and C++ code (such as the presence or
position of whitespace in various cases): keep the existing practice that
is usual for C code in GCC and the GNU project rather than adopting
something else because it is said to be conventional for C++.
--
Joseph S. Myers
joseph@codesourcery.com