Re: [PATCH] 2.3.14 remove all C++ // comments and replace them with /* */

Albert D. Cahalan (acahalan@cs.uml.edu)
Thu, 19 Aug 1999 21:58:26 -0400 (EDT)


david parsons writes:

> I'm not sure that this is even wanted, or if it's needed, but I was
> building 2.3.14 this morning on my old SLS (the standard kernels won't
> build on a Mastodon system, because of excessive GNUisms) system, and I
> got a HUGE collection of complaints about the C++ comments (via gcc
> 2.7.0).
>
> This patch replaces every one of 'em that I can find with C-style
> /* */ comments.

You might as well rip out C++ style function prototypes and void.
Face it, C has evolved. The ISO even requires the nice comment style.

I think you can make gcc 2.7.0 accept the nice comments. You can hack
the spec file or add a command argument.

C evolved from languages that used // for comments. Now they return.
Yay! The /* comments were a bad joke designed to make IBM terminal
drivers puke... well, at least they did.

I suggest you write a patch to remove the old /* comments. :-)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/