This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using C++ in GCC is OK


On 02/06/2010 00:38, Ian Lance Taylor wrote:
> DJ Delorie <dj@redhat.com> writes:

>>>> * Use C-style comments for multi-line comments, and C++-style comments
>>>>   for single-line comments.
>>> I'm not sure i agree with this, because I don't see anything wrong
>>> with multi-line C++-style comments.
>> It assumes your editor can do block-reformatting while preserving the
>> comment syntax.  I've had too many // cases of Emacs guessing wrong //
>> and putting // throughout a reformatted // block.
> 
> I don't see why the coding standard should prohibit using a good
> editor, but I'm willing to hear what other people think.

  I don't think the coding standard should be dragged into the religious wars
over editor choices.

    cheers,
      DaveK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]