[Olsr-dev] Thoughts about an ETX-FF-Metric plugin
Roar Bjørgum Rotvik
(spam-protected)
Tue Jun 17 09:25:11 CEST 2008
Hannes Gredler wrote:
>
> and ... pls no C++ style comments and deleting code rather than commenting out.
You probably already know this, but "//"-comments are not C++ only comments.
Gcc has supported this type of comments a long time and C99 (the newest C standard) also
allows "//"-comments now. So this type of comments is equal valid in both C++ and C.
Just in case someone on this list didn't know this :)
But again, some older (non-gcc) compilers that do not support C99 may complain on these
comments, so it may be safer to avvoid them if your policy is to support pre-C99 compilers.
--
Roar Bjørgum Rotvik
More information about the Olsr-dev
mailing list