From: Adrian M. <ad...@mc...> - 2002-01-26 23:29:34
|
On Saturday 26 Jan 2002 11:25 pm, Paul Mundt wrote: > 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... > > > > The comments are perfectly good C comments. See the C99 standard. > > 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 that doesn't make it "clean" or "proper"). > > Regards, So American standards institute doesn't like it? Come on. :-> Standards are standards. End of story. Adrian PS The driver also uses the recommended C99 typing too. |