[Olsr-dev] Thoughts about an ETX-FF-Metric plugin

Henning Rogge (spam-protected)
Tue Jun 17 09:31:16 CEST 2008


Am Dienstag 17 Juni 2008 09:25:11 schrieb Roar Bjørgum Rotvik:
> 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.
Yes, but we try to use the normal /* */ ones in the code, so Hannes comment is 
okay. ;)

this patch is prototype, so I did not "waste" much time to clean it up.

Henning


*************************************************
Diplom Informatiker Henning Rogge
Forschungsgesellschaft für
Angewandte Naturwissenschaften e. V. (FGAN) 
Neuenahrer Str. 20, 53343 Wachtberg, Germany
Tel.: 0049 (0)228 9435-961
Fax: 0049 (0)228 9435-685
E-Mail: (spam-protected)
Web: www.fgan.de
************************************************
Sitz der Gesellschaft: Bonn
Registergericht: Amtsgericht Bonn VR 2530
Vorstand: Dr. rer. nat. Ralf Dornhaus (Vors.), Prof. Dr. Joachim Ender 
(Stellv.)




More information about the Olsr-dev mailing list