Ralf Baechle wrote:
> 
> On Sun, Jan 21, 2001 at 03:00:05AM +0100, Matthias Andree wrote:
> 
> > >   int function(int x)
> > >   {
> > >     body of function    // correctly braced and commented :)
> > >   }
> >
> > So you claim // is a correct C comment? Poor guy :)
> 
> Current drafts of C9X implement // comments; virtually every halfway
> current C compiler I've used during the last years implements it.
> 
>   Ralf
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.tux.org/lkml/

Any plane vanilla C compiler that doesnt support // as a coment is
probably at least 10 years old :)  His point wasnt that it wouldnt work,
he was pointing out that this cmmenting style is frowned upon in C.  

It is alot neater tho :P~

// even for multi line comments 
// no visual clutter over there -->
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to