Uwe Hermann wrote:
Hi,
On Fri, Feb 02, 2007 at 10:40:34AM -0700, ron minnich wrote:
Hi Roman, this patch looks fine save for one thing: I believe that the // comments were supposed to be deprecated. I can not find a reference for this, however; anybody care to correct me?
Well, not sure. // comments are valid in C++, but not (ANSI?) C as far as I know. But in practice compilers allow both, except if you pass some command line options like -pedantic and others...
IIRC the C99 standard is the first C standard to allow // comments.
Regards, Carl-Daniel