From: Paul M. <pm...@mv...> - 2002-01-26 23:24:06
|
On Sat, Jan 26, 2002 at 11:12:40PM +0000, Adrian McMenamin wrote: > > How about replacing all those C++-comments with C-comments? > > Not that they bother GCC, but it's just not right to use > > C++-comments in C-code... >=20 > The comments are perfectly good C comments. See the C99 standard. >=20 C99 compliant, perhaps. Strict ANSI compliant on the other hand... not even close. C99 allows for all sorts of stupidities, most of which have no place= in the kernel IMO. As a good practice, try building w/ -Werror -ansi to your CFLAGS and see how compliant your code is. (large portions of the kernel fail with this, but t= hat doesn't make it "clean" or "proper"). Regards, --=20 Paul Mundt <pm...@mv...> MontaVista Software, Inc. |