no // comments, please

mouring at etoh.eviladmin.org mouring at etoh.eviladmin.org
Mon Jun 18 03:50:53 EST 2001



It's still best to avoid using them.  Mainly for the fact that it's not
accepted as part of the OpenBSD coding style.

Besides it has already been taken care of in the -CURRENT branch.  Come to
think about it.  I'm unsure if it was dealt within branch 2.9.  <shrug>

- Ben

On 17 Jun 2001, Ed L Cashin wrote:

> Steve VanDevender <stevev at darkwing.uoregon.edu> writes:
>
> > Non-gcc compilers tend not to like C++-style // comments in plain C
> > code, as I discovered when trying to build the latest snapshot
> > (20010615) with the Tru64 UNIX C compiler.
>
> It doesn't matter (practically speaking), since some compilers haven't
> caught up, and folks also use old ones anyway, but those "//" comments
> *are* part of the C programming language as defined by the C99 ISO
> standard.
>
> --
> --Ed Cashin                   PGP public key:
>   ecashin at terry.uga.edu       http://www.terry.uga.edu/~ecashin/pgp/
>
>






More information about the openssh-unix-dev mailing list